aboutsummaryrefslogtreecommitdiff
path: root/pandoc.hs
diff options
context:
space:
mode:
Diffstat (limited to 'pandoc.hs')
-rw-r--r--pandoc.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc.hs b/pandoc.hs
index 55d826398..31683c9a2 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -35,5 +35,5 @@ import Text.Pandoc.Error (handleError)
main :: IO ()
main = E.catch (parseOptions options defaultOpts >>= convertWithOpts)
- (\e -> handleError (Left e))
+ (handleError . Left)