Restore "Fetching..." message with openURL if --verbose.

This commit is contained in:
John MacFarlane 2017-02-23 16:24:20 +01:00
parent e08e93e844
commit 61d3376a45

View file

@ -229,7 +229,9 @@ instance PandocMonad PandocIO where
getCurrentTimeZone = liftIO IO.getCurrentTimeZone
newStdGen = liftIO IO.newStdGen
newUniqueHash = hashUnique <$> (liftIO IO.newUnique)
openURL u = liftIOError IO.openURL u
openURL u = do
report $ Fetching u
liftIOError IO.openURL u
readFileLazy s = liftIOError BL.readFile s
readFileStrict s = liftIOError B.readFile s
readDataFile mfp fname = liftIOError (IO.readDataFile mfp) fname