We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 106683c commit f08cb25Copy full SHA for f08cb25
src/Stack/Ghci.hs
@@ -466,7 +466,9 @@ buildDepsAndInitialSteps GhciOpts{..} localTargets = do
466
case eres of
467
Right () -> pure ()
468
Left err -> do
469
- prettyError $ fromString (displayException err)
+ case fromException err of
470
+ Just (PrettyException prettyErr) -> prettyError $ pretty prettyErr
471
+ Nothing -> prettyError $ fromString (displayException err)
472
prettyWarn "Build failed, but trying to launch GHCi anyway"
473
_ ->
474
pure ()
0 commit comments