mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 12:18:29 +01:00
Upgrade some hoogle messages to warnings
This commit is contained in:
parent
143b9b01c5
commit
c1c7d14e15
@ -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 ::
|
||||
|
||||
Loading…
Reference in New Issue
Block a user