mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
- Getting flodded with reports of users misapplied template filters (cherry picked from commit 017d96f64ebdef18dc6e11647f9aba93e7dddf90) Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
parent
b18ac57fb8
commit
1ae27a6b77
@ -5,6 +5,7 @@ import logging
|
|||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.core.exceptions import ValidationError
|
from django.core.exceptions import ValidationError
|
||||||
from django.http import Http404
|
from django.http import Http404
|
||||||
|
from django.template.exceptions import TemplateSyntaxError
|
||||||
|
|
||||||
import rest_framework.exceptions
|
import rest_framework.exceptions
|
||||||
import sentry_sdk
|
import sentry_sdk
|
||||||
@ -29,6 +30,7 @@ def sentry_ignore_errors():
|
|||||||
return [
|
return [
|
||||||
Http404,
|
Http404,
|
||||||
MissingRate,
|
MissingRate,
|
||||||
|
TemplateSyntaxError,
|
||||||
ValidationError,
|
ValidationError,
|
||||||
rest_framework.exceptions.AuthenticationFailed,
|
rest_framework.exceptions.AuthenticationFailed,
|
||||||
rest_framework.exceptions.NotAuthenticated,
|
rest_framework.exceptions.NotAuthenticated,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user