- 
                Notifications
    You must be signed in to change notification settings 
- Fork 54
Open
Description
Based on commercialhaskell/stack#3073 , I suspected hackage-security wasn't handling async exceptions quite right. Indeed, a search for SomeException led me to find the following spots where SomeException gets caught and not rethrown:
Relevant to the linked issue:
hackage-security/hackage-security/src/Hackage/Security/Client/Repository/Remote.hs
Line 278 in 226e1e4
| catchChecked (select m callback) $ \ex -> do | 
Part of hackage-repo-tool:
| handle (throwIO . TarGzError (prettyTargetPath' opts pathTarGz)) $ do | 
I also noticed that the UpdateFailed exception constructor is never used -
| | UpdateFailed SomeException | 
Metadata
Metadata
Assignees
Labels
No labels