[sentry] Do not report MethodNotAllowed (#12584)

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