From 6cdc21c308b1661877de87953697e94d578b20be Mon Sep 17 00:00:00 2001 From: Oliver Date: Sat, 8 Aug 2026 20:51:21 +1000 Subject: [PATCH] [sentry] Do not report MethodNotAllowed (#12584) --- src/backend/InvenTree/InvenTree/sentry.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/InvenTree/InvenTree/sentry.py b/src/backend/InvenTree/InvenTree/sentry.py index 5307220ee9..bf1252b331 100644 --- a/src/backend/InvenTree/InvenTree/sentry.py +++ b/src/backend/InvenTree/InvenTree/sentry.py @@ -36,6 +36,7 @@ def sentry_ignore_errors(): # pragma: no cover rest_framework.exceptions.AuthenticationFailed, rest_framework.exceptions.NotAuthenticated, rest_framework.exceptions.PermissionDenied, + rest_framework.exceptions.MethodNotAllowed, rest_framework.exceptions.ValidationError, ]