1
1
Fork 0
mirror of https://github.com/jointakahe/takahe.git synced 2025-04-21 12:54:08 +00:00

settings.SETUP.SENTRY_CAPTURE_MESSAGES ()

This commit is contained in:
Michael Manfre 2022-12-06 18:54:45 -05:00 committed by GitHub
parent e2b234d9ed
commit c87ad8116f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)