parent
0bfe478a69
commit
a6297d252e
1 changed files with 1 additions and 1 deletions
|
@ -165,4 +165,4 @@ readJSON :: PandocMonad m
|
|||
readJSON _ t =
|
||||
case eitherDecode' . BL.fromStrict . UTF8.fromText $ t of
|
||||
Right doc -> return doc
|
||||
Left _ -> throwError $ PandocParseError "JSON parse error"
|
||||
Left e -> throwError $ PandocParseError ("JSON parse error: " <> T.pack e)
|
||||
|
|
Loading…
Reference in a new issue