settings.SETUP.SENTRY_CAPTURE_MESSAGES (#133)
This commit is contained in:
parent
e2b234d9ed
commit
c87ad8116f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue