Debug check-exercises failure

This commit is contained in:
Bretton 2022-07-06 13:28:46 -07:00
parent 7bac9db242
commit 9551a157d5

View File

@ -291,7 +291,7 @@ main = do
if Seq.null (rdReplout rd)
then do let cryCmd = (P.shell (exe ++ " --interactive-batch " ++ inFile ++ " -e"))
(cryEC, cryOut, _) <- P.readCreateProcessWithExitCode cryCmd ""
(cryEC, cryOut, cryErr) <- P.readCreateProcessWithExitCode cryCmd ""
Line lnReplinStart _ Seq.:<| _ <- return $ rdReplin rd
@ -301,6 +301,7 @@ main = do
putStrLn $ "REPL error (replin lines " ++
show lnReplinStart ++ "-" ++ show lnReplinEnd ++ ")."
putStr cryOut
putStr cryErr
exitFailure
ExitSuccess -> do
-- remove temporary input file