From 2143d4d2a04f07d3823b3e54fc34cead33d5c184 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 25 Aug 2019 23:49:25 -0700 Subject: Better message for PandocTemplateError. --- src/Text/Pandoc/Error.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Error.hs b/src/Text/Pandoc/Error.hs index 326ddf918..afb18a2f6 100644 --- a/src/Text/Pandoc/Error.hs +++ b/src/Text/Pandoc/Error.hs @@ -98,7 +98,7 @@ handleError (Left e) = "Could not find data file " ++ fn PandocResourceNotFound fn -> err 99 $ "File " ++ fn ++ " not found in resource path" - PandocTemplateError s -> err 5 s + PandocTemplateError s -> err 5 $ "Error compiling template " ++ s PandocAppError s -> err 1 s PandocEpubSubdirectoryError s -> err 31 $ "EPUB subdirectory name '" ++ s ++ "' contains illegal characters" -- cgit v1.2.3