fpco / unliftio

The MonadUnliftIO typeclass for unlifting monads to IO
Other
151 stars 51 forks source link

Propagate ExceptionContext #119

Open brandonchinn178 opened 4 months ago

brandonchinn178 commented 4 months ago

GHC 9.10 added ExceptionContext to all exceptions by default, but using UnliftIO's throwIO, the context only goes up to where Control.Exception.throwIO is called in UnliftIO's code. Same with other functions like finally.