Skip to content
Snippets Groups Projects
Commit 29b94903 authored by Aboobacker MK's avatar Aboobacker MK :three:
Browse files

Gracefully handle exceptions

Rails does has builtin rescue mechanism at middleware level called
`ActionDispatch::ShowExceptions`. This wasn't functioning properly
since we introduced `Gitlab::Middleware::HandleMalformedStrings`
since it was raising exception before `ActionDispatch::ShowExceptions`.

The fix here is to move the `ActionDispatch::ShowExceptions` up in
the middleware stack

Changelog: fixed
parent cc0ab937
No related branches found
No related tags found
1 merge request!133630Gracefully handle exceptions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment