Skip to content

Commit 381d04d

Browse files
authored
Merge pull request #914 from mapswipe/feature/ignore-user-doesnot-exists
Ignore User.DoesNotExist in sentry
2 parents 816cd1c + 2e1bc37 commit 381d04d

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)