@@ -122,7 +122,7 @@ convertImage tmpdir fname =
122 Just "application/pdf" -> doNothing
122 Just "application/pdf" -> doNothing
123 _ -> JP.readImage fname >>= \res ->
123 _ -> JP.readImage fname >>= \res ->
124 case res of
124 case res of
125− Left msg -> return $ Left $ "Unable to convert `" ++
125+ Left _ -> return $ Left $ "Unable to convert `" ++
126 fname ++ "' for use with pdflatex."
126 fname ++ "' for use with pdflatex."
127 Right img ->
127 Right img ->
128 E.catch (Right fileOut <$ JP.savePngImage fileOut img) $
128 E.catch (Right fileOut <$ JP.savePngImage fileOut img) $