fix(api): ignore RequestAborted from health-check probe disconnects in Sentry (#11632)

This commit is contained in:
Josema Camacho
2026-06-17 16:20:17 +02:00
committed by GitHub
parent 5ecfd6ea20
commit bae74b8181
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@ All notable changes to the **Prowler API** are documented in this file.
### 🔄 Changed
- Gunicorn worker timeout raised from the 30s default to 120s, so long-running requests are no longer killed prematurely [(#11631)](https://github.com/prowler-cloud/prowler/pull/11631)
- Sentry now drops ASGI's `RequestAborted` errors from health-check probe disconnects on `/health/live` [(#11632)](https://github.com/prowler-cloud/prowler/pull/11632)
### 🔐 Security
@@ -76,6 +76,8 @@ IGNORED_EXCEPTIONS = [
# PowerShell Errors in User Authentication
"Microsoft Teams User Auth connection failed: Please check your permissions and try again.",
"Exchange Online User Auth connection failed: Please check your permissions and try again.",
# ASGI: Client disconnected before the response finished (health-check probes on /health/live)
"RequestAborted",
]