mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-07 19:01:17 +00:00
Sentry: ignore NotAuthenticated errors (#5702)
- Causes a lot of unnecessary error reports
This commit is contained in:
1 parent
01f30222eb
commit
59efae0bfc
1 file changed
+1
@@ -31,6 +31,7 @@ def sentry_ignore_errors():
|
|||||||
Http404,
|
Http404,
|
||||||
ValidationError,
|
ValidationError,
|
||||||
rest_framework.exceptions.AuthenticationFailed,
|
rest_framework.exceptions.AuthenticationFailed,
|
||||||
|
rest_framework.exceptions.NotAuthenticated,
|
||||||
rest_framework.exceptions.PermissionDenied,
|
rest_framework.exceptions.PermissionDenied,
|
||||||
rest_framework.exceptions.ValidationError,
|
rest_framework.exceptions.ValidationError,
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in new issue
Block a user