mirror of https://github.com/voidlizard/hbs2
fixed UuoMCa4gxd
This commit is contained in:
parent
f0b2c4318d
commit
889947bf51
|
@ -1,2 +1,2 @@
|
||||||
|
|
||||||
(fixme-set "workflow" "done" "UuoMCa4gxd")
|
(fixme-set "workflow" "done" "RsTry2C5Gk")
|
|
@ -408,10 +408,8 @@ simpleReadLinkRaw ss ref = do
|
||||||
if deleted == Just True then do
|
if deleted == Just True then do
|
||||||
pure Nothing
|
pure Nothing
|
||||||
else do
|
else do
|
||||||
-- FIXME: log-this-situation
|
|
||||||
(Just <$> LBS.readFile fn) `catchAny` \e -> do
|
(Just <$> LBS.readFile fn) `catchAny` \e -> do
|
||||||
-- TODO: update-stats-instead-of-spamming
|
warn $ "simpleReadLinkRaw" <+> pretty ref <+> pretty fn <+> viaShow e
|
||||||
err $ "simpleReadLinkRaw" <+> pretty ref <+> pretty fn <+> viaShow e
|
|
||||||
pure Nothing
|
pure Nothing
|
||||||
|
|
||||||
pure $ fromMaybe Nothing rs
|
pure $ fromMaybe Nothing rs
|
||||||
|
|
Loading…
Reference in New Issue