diff options
author | Michael Manfre | 2022-12-06 18:54:45 -0500 |
---|---|---|
committer | GitHub | 2022-12-06 16:54:45 -0700 |
commit | c87ad8116fbd19107456147b026e1cc214334b40 (patch) | |
tree | 1cc92a6e9ded53a4d12d723c02e88015f08f3992 /core | |
parent | e2b234d9ed99ba90835d0a4c59ea22dde1262352 (diff) | |
download | takahe-c87ad8116fbd19107456147b026e1cc214334b40.tar.gz takahe-c87ad8116fbd19107456147b026e1cc214334b40.tar.bz2 takahe-c87ad8116fbd19107456147b026e1cc214334b40.zip |
settings.SETUP.SENTRY_CAPTURE_MESSAGES (#133)
Diffstat (limited to 'core')
-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) |