You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My initial findings show that Kemal::Config::INSTANCE.handlers is not working as expected. Instead of respecting Kemal::Config::FILTER_HANDLERS it just errors out flat. Changing the order of the filters didn't work either. Need to investigate if it's a special behavior to 404
My initial findings show that Kemal::Config::INSTANCE.handlers is not working as expected. Instead of respecting Kemal::Config::FILTER_HANDLERS it just errors out flat. Changing the order of the filters didn't work either. Need to investigate if it's a special behavior to 404
Might be the exception handler short-circuiting the response and ignoring filter handlers
Commenting that line seems to make the original example work, but from a quick search I could not find the reasoning for it to be there in the first place. Happy to try and put in a PR to fix if you give some pointers on why it's there.
Description
It seems like the
before_all
handler isn't called for the error routes.Steps to Reproduce
Take a simple project with a
before_all
handler:Query a route that doesn't exist such as
0.0.0.0:3000/route
Notice that the
before_all
handler isn't calledExpected behavior:
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
100% of the time
Versions
The text was updated successfully, but these errors were encountered: