Skip to content

Commit

Permalink
Add diagnostics (temporary)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjoosten committed Feb 16, 2022
1 parent 9f55d96 commit 33c2c1f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Ampersand/Prototype/PHP.hs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,13 @@ createTempDatabase fSpec = do
$ phpStr
logInfo $
if T.null result
then "Temp database created succesfully."
then
display $
T.intercalate "\n" $
[ "Temp database created succesfully.",
"The statements:"
]
<> addLineNumbers phpStr
else
display $
T.intercalate "\n" $
Expand Down

0 comments on commit 33c2c1f

Please sign in to comment.