[sentry] Do not report MethodNotAllowed (#12584)

This commit is contained in:
Oliver authored and GitHub committed 2026-08-08 20:51:21 +10:00
1 parent 21819ebc78
commit 6cdc21c308
1 file changed
+1
@@ -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,
]