From c87ad8116fbd19107456147b026e1cc214334b40 Mon Sep 17 00:00:00 2001 From: Michael Manfre Date: Tue, 6 Dec 2022 18:54:45 -0500 Subject: settings.SETUP.SENTRY_CAPTURE_MESSAGES (#133) --- core/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3