Removed an unnecessary liftIO.
This commit is contained in:
parent
30eda43192
commit
8435de3236
1 changed files with 1 additions and 2 deletions
|
@ -294,8 +294,7 @@ convertWithOpts opts = do
|
|||
writerOptions doc
|
||||
case res of
|
||||
Right pdf -> writeFnBinary outputFile pdf
|
||||
Left err' -> liftIO $
|
||||
E.throwIO $ PandocPDFError $
|
||||
Left err' -> throwError $ PandocPDFError $
|
||||
TL.unpack (TE.decodeUtf8With TE.lenientDecode err')
|
||||
|
||||
Nothing -> do
|
||||
|
|
Loading…
Reference in a new issue