diff options
author | David Waern <david.waern@gmail.com> | 2011-10-01 01:34:10 +0200 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2011-10-01 01:34:10 +0200 |
commit | 73a6ed218c59fb778da9b830db1283e005ff2245 (patch) | |
tree | d9b7b7b3b957f5769b2640d18797240b2192aaae /src | |
parent | 4d6b343127aa3d545473fe9e80821b8d4587f6a1 (diff) |
Use printException instead of deprecated printExceptionAndWarnings
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.hs | 2 |
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. |