-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A monkeypatch in RailsExt::ActionDispatch existed to convert errors to pretty JSON. Now that we have set the default logger to log in JSON the transformed error message becomes a stringified JSON and not the best for error viewing. By removing the monkeypatch it should logs error nicely via logger we set. Co-authored-by: Neamah Al-Selwi <neamah.alselwi@digital.cabinet-office.gov.uk> Co-authored-by: Tuomas Nylund <tuomas.nylund@digital.cabinet-office.gov.uk>
- Loading branch information
1 parent
e13795b
commit 5b80c3c
Showing
4 changed files
with
3 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 0 additions & 49 deletions
49
lib/govuk_app_config/rails_ext/action_dispatch/debug_exceptions.rb
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 0 additions & 48 deletions
48
spec/lib/rails_ext/action_dispatch/debug_exceptions_spec.rb
This file was deleted.
Oops, something went wrong.