diff options
-rw-r--r-- | core/exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/exceptions.py b/core/exceptions.py index d41bb82..a027935 100644 --- a/core/exceptions.py +++ b/core/exceptions.py @@ -20,7 +20,7 @@ def capture_message(message: str): """ Sends the informational message to Sentry if it's configured """ - if settings.SETUP.SENTRY_DSN and settings.SENTRY_CAPTURE_MESSAGES: + if settings.SETUP.SENTRY_DSN and settings.SETUP.SENTRY_CAPTURE_MESSAGES: from sentry_sdk import capture_message capture_message(message) |