scotty-web / scotty

Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository)
http://hackage.haskell.org/package/scotty
BSD 3-Clause "New" or "Revised" License
1.71k stars 132 forks source link

handle ActionError prior to a user-defined handler (fixes #330) #331

Closed fumieval closed 9 months ago

fumieval commented 9 months ago

Catching SomeException in a user-defined handler should not bypass actionErrorHandler.

ocramz commented 9 months ago

@fumieval do you think this deserves a quick bugfix release? It is a behaviour change w.r.t 0.20 so perhaps we can release 0.21 with this and the newly-deprecated functions.

fumieval commented 9 months ago

@ocramz I'm not in a hurry, but I think it's good to go now that #334 is merged too