mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 03:26:45 +00:00
Ignore sentry for TemplateSyntaxError (#9239)
- Getting flodded with reports of users misapplied template filters
This commit is contained in:
parent
21ae1138ce
commit
017d96f64e
@ -3,6 +3,7 @@
|
||||
from django.conf import settings
|
||||
from django.core.exceptions import ValidationError
|
||||
from django.http import Http404
|
||||
from django.template.exceptions import TemplateSyntaxError
|
||||
|
||||
import rest_framework.exceptions
|
||||
import sentry_sdk
|
||||
@ -28,6 +29,7 @@ def sentry_ignore_errors():
|
||||
return [
|
||||
Http404,
|
||||
MissingRate,
|
||||
TemplateSyntaxError,
|
||||
ValidationError,
|
||||
rest_framework.exceptions.AuthenticationFailed,
|
||||
rest_framework.exceptions.NotAuthenticated,
|
||||
|
Loading…
x
Reference in New Issue
Block a user