Sentry: ignore NotAuthenticated errors (#5702)

- Causes a lot of unnecessary error reports
This commit is contained in:
Oliver 2023-10-16 14:37:13 +11:00 committed by GitHub
parent 01f30222eb
commit 59efae0bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,7 @@ def sentry_ignore_errors():
Http404,
ValidationError,
rest_framework.exceptions.AuthenticationFailed,
rest_framework.exceptions.NotAuthenticated,
rest_framework.exceptions.PermissionDenied,
rest_framework.exceptions.ValidationError,
]