[Haskell-cafe] how to catch/bracket in yesod-1.6?

waldmann johannes.waldmann at htwk-leipzig.de
Wed Apr 25 11:26:55 UTC 2018


Dear Cafe,

I wonder what's the recommended way to catch an exception,
clean up resources, etc., in a yesod Handler.
I was using Control.Monad.Catch.bracket_ in legacy code but now I get
"No instance for (Control.Monad.Catch.MonadMask (HandlerFor App))"

- J


More information about the Haskell-Cafe mailing list