Errors are now sent to Sentry

This commit is contained in:
Demetris Stavrou 2019-05-21 22:04:03 +03:00
parent b5a306e679
commit 38b2c2dfcd

View File

@ -288,7 +288,7 @@ SENTRY_LOG_LEVEL = env.int("DJANGO_SENTRY_LOG_LEVEL", logging.INFO)
sentry_logging = LoggingIntegration(
level=SENTRY_LOG_LEVEL, # Capture info and above as breadcrumbs
event_level=None, # Send no events from log messages
event_level=logging.ERROR # Send errors as events
)
{%- if cookiecutter.use_celery == 'y' %}