Skip to content

Commit 94c27ad

Browse files
committed
Move log message out
1 parent f0ce5de commit 94c27ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

booster/library/Booster/SMT/Interface.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,12 @@ checkPrelude = do
168168
case check of
169169
Sat -> pure ()
170170
other -> do
171+
Log.logMessage $ "Initial SMT definition check returned " <> pack (show other)
171172
ctxt <- SMT get
172173
if isNoSolver ctxt
173174
then -- when running with a dummy solver, ignore the Unknown prelude check
174175
pure ()
175-
else do
176-
Log.logMessage $ "Initial SMT definition check returned " <> pack (show other)
176+
else
177177
throwSMT' $
178178
"Aborting due to potentially-inconsistent SMT setup: Initial check returned " <> show other
179179

0 commit comments

Comments
 (0)