mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-21 00:11:56 +01:00
Revert "Recover from Hoogle creation errors"
This reverts commit 42f4f7e586.
This commit is contained in:
parent
42f4f7e586
commit
4e7e62c3dc
@ -716,9 +716,7 @@ buildAndUploadHoogleDB doNotUpload = do
|
|||||||
void $ checkInsertSnapshotHoogleDb True snapshotId
|
void $ checkInsertSnapshotHoogleDb True snapshotId
|
||||||
Nothing -> do
|
Nothing -> do
|
||||||
logInfo $ "Current hoogle database does not yet exist for: " <> display snapName
|
logInfo $ "Current hoogle database does not yet exist for: " <> display snapName
|
||||||
mfp' <- createHoogleDB snapshotId snapName `catchAny` \e -> do
|
mfp' <- createHoogleDB snapshotId snapName
|
||||||
logError $ displayShow e
|
|
||||||
pure Nothing
|
|
||||||
forM_ mfp' $ \fp -> do
|
forM_ mfp' $ \fp -> do
|
||||||
let key = hoogleKey snapName
|
let key = hoogleKey snapName
|
||||||
dest = T.unpack key
|
dest = T.unpack key
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user