Skip to content

Commit

Permalink
Add GDS::SSO::PermissionDeniedError to excluded exceptions list
Browse files Browse the repository at this point in the history
- We do not need to capture these errors generated from gds-sso. They do not indicate that something went wrong with the application; rather, they indicate that a user does not have permissions to access a resource.
  • Loading branch information
AlexAvlonitis committed Apr 25, 2024
1 parent 4075767 commit 1f00eb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/govuk_app_config/govuk_error/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def set_up_defaults
"CGI::Session::CookieStore::TamperedWithCookie",
"GdsApi::HTTPIntermittentServerError",
"GdsApi::TimedOutException",
"GDS::SSO::PermissionDeniedError",
"Mongoid::Errors::DocumentNotFound",
"Puma::HttpParserError",
"Sinatra::NotFound",
Expand Down

0 comments on commit 1f00eb0

Please sign in to comment.