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
I ran into the strange behaviour while refactoring my api and moving error handling into separate file. So I wrote this minimal example to reproduce the issue.
Here I use blocks to handle specific exceptions and call specific helper method:
I ran into the strange behaviour while refactoring my api and moving error handling into separate file. So I wrote this minimal example to reproduce the issue.
Here I use blocks to handle specific exceptions and call specific helper method:
When I request
/argument_error
API responds, as intended, with{"error":"argument_error_block"}
. But if I usewith:
in rescue_fromI start to receive
{"error":"all_errors_block"}
and never get toargument_error
helper.The text was updated successfully, but these errors were encountered: