Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.

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

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

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)