Skip to content

Commit

Permalink
catch another specific error message from SR "type error: undefined i…
Browse files Browse the repository at this point in the history
…dentifier"
  • Loading branch information
ozgurakgun committed Mar 11, 2024
1 parent 8908533 commit 6d955d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Conjure/UI/SolveStats.hs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ mkSolveStats Solve {..} (exitCodeSR, stdoutSR, stderrSR) rawInfo = do
| T.isInfixOf "java.lang.OutOfMemoryError" combinedSR = MemOut
| T.isInfixOf "Out of Memory" combinedSR = MemOut
| T.isInfixOf "Savile Row timed out." combinedSR = TimeOut
| T.isInfixOf "type error: undefined identifier" combinedSR = Error
| M.lookup "SavileRowTimeOut" info == Just "1" = TimeOut
| M.lookup "SavileRowClauseOut" info == Just "1" = TimeOut
| M.lookup "SolverTimeOut" info == Just "1" = TimeOut
Expand Down

0 comments on commit 6d955d7

Please sign in to comment.