fixed UuoMCa4gxd

This commit is contained in:
Dmitry Zuikov 2024-01-28 07:26:14 +03:00
parent f0b2c4318d
commit 889947bf51
2 changed files with 2 additions and 4 deletions

View File

@ -1,2 +1,2 @@
(fixme-set "workflow" "done" "UuoMCa4gxd")
(fixme-set "workflow" "done" "RsTry2C5Gk")

View File

@ -408,10 +408,8 @@ simpleReadLinkRaw ss ref = do
if deleted == Just True then do
pure Nothing
else do
-- FIXME: log-this-situation
(Just <$> LBS.readFile fn) `catchAny` \e -> do
-- TODO: update-stats-instead-of-spamming
err $ "simpleReadLinkRaw" <+> pretty ref <+> pretty fn <+> viaShow e
warn $ "simpleReadLinkRaw" <+> pretty ref <+> pretty fn <+> viaShow e
pure Nothing
pure $ fromMaybe Nothing rs