diff --git a/src/backend/InvenTree/InvenTree/sentry.py b/src/backend/InvenTree/InvenTree/sentry.py index a6e3b78d32..b73c5e77f5 100644 --- a/src/backend/InvenTree/InvenTree/sentry.py +++ b/src/backend/InvenTree/InvenTree/sentry.py @@ -5,6 +5,7 @@ import logging 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 @@ -29,6 +30,7 @@ def sentry_ignore_errors(): return [ Http404, MissingRate, + TemplateSyntaxError, ValidationError, rest_framework.exceptions.AuthenticationFailed, rest_framework.exceptions.NotAuthenticated,