Skip to content

Commit 2e1bc37

Browse files
committed
Ignore User.DoesNotExist in sentry
1 parent 816cd1c commit 2e1bc37

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

django/mapswipe/sentry.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
from sentry_sdk.integrations.django import DjangoIntegration
44
from sentry_sdk.integrations.logging import ignore_logger
55

6-
IGNORED_ERRORS = []
6+
IGNORED_ERRORS = [
7+
"apps.existing_database.models.User.DoesNotExist",
8+
]
9+
710
IGNORED_LOGGERS = [
811
"graphql.execution.utils",
912
]

0 commit comments

Comments
 (0)