From 1c934e37c74dd394f83fb7eb5960377e59a964f8 Mon Sep 17 00:00:00 2001 From: Prowler Bot Date: Tue, 11 Mar 2025 17:27:07 +0100 Subject: [PATCH] chore(sentry): ignore expected errors in GCP API (#7186) Co-authored-by: Sergio Garcia --- api/src/backend/config/settings/sentry.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/src/backend/config/settings/sentry.py b/api/src/backend/config/settings/sentry.py index c971afe836..de1478a7fb 100644 --- a/api/src/backend/config/settings/sentry.py +++ b/api/src/backend/config/settings/sentry.py @@ -20,6 +20,9 @@ IGNORED_EXCEPTIONS = [ # The following comes from urllib3 # eu-west-1 -- HTTPClientError[126]: An HTTP Client raised an unhandled exception: AWSHTTPSConnectionPool(host='hostname.s3.eu-west-1.amazonaws.com', port=443): Pool is closed. "Pool is closed", + # Errors from the GCP API + "Permission denied to get service", + "API has not been used in project", ]