diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-08-25 23:49:25 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-08-25 23:49:25 -0700 |
commit | 2143d4d2a04f07d3823b3e54fc34cead33d5c184 (patch) | |
tree | f5aaff2eda06bd97bee9c49abfad5744544356f4 /src/Text | |
parent | e2c4d1ccfc0ed8382954b32d6b7e1d084ee27aef (diff) | |
download | pandoc-2143d4d2a04f07d3823b3e54fc34cead33d5c184.tar.gz |
Better message for PandocTemplateError.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Error.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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" |