Upgrade some hoogle messages to warnings

This commit is contained in:
Bryan Richter 2024-02-12 15:12:57 +02:00
parent 143b9b01c5
commit c1c7d14e15
No known key found for this signature in database
GPG Key ID: B202264020068BFB

View File

@ -125,11 +125,11 @@ newHoogleLocker env man bucketUrl = mkSingleRun hoogleLocker
sinkHandle h
return $ Just fp
| status == status404 -> do
logDebug $ "NotFound: " <> display (hoogleUrl name bucketUrl)
logWarn $ "NotFound: " <> display (hoogleUrl name bucketUrl)
return Nothing
| otherwise -> do
body <- liftIO $ brConsume $ responseBody res
mapM_ (logDebug . displayBytesUtf8) body
mapM_ (logWarn . displayBytesUtf8) body
return Nothing
getHackageDeprecations ::