aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2011-10-01 01:34:10 +0200
committerDavid Waern <david.waern@gmail.com>2011-10-01 01:34:10 +0200
commit73a6ed218c59fb778da9b830db1283e005ff2245 (patch)
treed9b7b7b3b957f5769b2640d18797240b2192aaae /src/Main.hs
parent4d6b343127aa3d545473fe9e80821b8d4587f6a1 (diff)
Use printException instead of deprecated printExceptionAndWarnings
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.