aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index b49fc6e4..f21bde5e 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -157,7 +157,7 @@ readPackagesAndProcessModules flags files = do
-- Catches all GHC source errors, then prints and re-throws them.
let handleSrcErrors action' = flip handleSourceError action' $ \err -> do
- printExceptionAndWarnings err
+ printException err
liftIO exitFailure
-- Initialize GHC.