Revert "Recover from Hoogle creation errors"

This reverts commit 42f4f7e586.
This commit is contained in:
Michael Snoyman 2020-08-27 13:33:09 +03:00
parent 42f4f7e586
commit 4e7e62c3dc
No known key found for this signature in database
GPG Key ID: 907EAE2F42B52046

View File

@ -716,9 +716,7 @@ buildAndUploadHoogleDB doNotUpload = do
void $ checkInsertSnapshotHoogleDb True snapshotId
Nothing -> do
logInfo $ "Current hoogle database does not yet exist for: " <> display snapName
mfp' <- createHoogleDB snapshotId snapName `catchAny` \e -> do
logError $ displayShow e
pure Nothing
mfp' <- createHoogleDB snapshotId snapName
forM_ mfp' $ \fp -> do
let key = hoogleKey snapName
dest = T.unpack key