Log unexpected HTTP response fetching Hoogle DB

This commit is contained in:
Bryan Richter 2024-04-03 15:45:21 +03:00
parent b56aaf33fc
commit 9420272b55
No known key found for this signature in database
GPG Key ID: B202264020068BFB

View File

@ -137,6 +137,7 @@ newHoogleLocker env man bucketUrl = mkSingleRun hoogleLocker
return Nothing
| otherwise -> do
body <- liftIO $ brConsume $ responseBody res
logWarn $ "Unexpected status: " <> displayShow status
mapM_ (logWarn . displayBytesUtf8) body
return Nothing