git.iko.soy/typeable/pandoc
on master help sign in
Better message for PandocTemplateError.
commit2143d4d2a04f07d3823b3e54fc34cead33d5c184 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 25 Aug 2019, 23:49 (7 years ago) parente2c4d1c
1 file changed+1−1
src/Text/Pandoc/Error.hs+1−1
src/Text/Pandoc/Error.hs+1−1
@@ -98,7 +98,7 @@ handleError (Left e) =
9898 "Could not find data file " ++ fn
9999 PandocResourceNotFound fn -> err 99 $
100100 "File " ++ fn ++ " not found in resource path"
101− PandocTemplateError s -> err 5 s
101+ PandocTemplateError s -> err 5 $ "Error compiling template " ++ s
102102 PandocAppError s -> err 1 s
103103 PandocEpubSubdirectoryError s -> err 31 $
104104 "EPUB subdirectory name '" ++ s ++ "' contains illegal characters"