mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-14 07:33:09 +00:00
Removed unnecessary sentry configuration (#1598)
This commit is contained in:
parent
1355222385
commit
a4f059196e
2 changed files with 2 additions and 3 deletions
|
|
@ -237,8 +237,7 @@ LOGGING = {
|
|||
|
||||
SENTRY_CELERY_LOGLEVEL = env.int('DJANGO_SENTRY_LOG_LEVEL', logging.INFO)
|
||||
RAVEN_CONFIG = {
|
||||
'CELERY_LOGLEVEL': env.int('DJANGO_SENTRY_LOG_LEVEL', logging.INFO),
|
||||
'DSN': SENTRY_DSN
|
||||
'dsn': SENTRY_DSN
|
||||
}
|
||||
{%- else %}
|
||||
# LOGGING
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ class CeleryConfig(AppConfig):
|
|||
# @formatter:on
|
||||
{%- endif %}
|
||||
|
||||
raven_client = RavenClient(dsn=settings.RAVEN_CONFIG['DSN'])
|
||||
raven_client = RavenClient(dsn=settings.RAVEN_CONFIG['dsn'])
|
||||
raven_register_logger_signal(raven_client)
|
||||
raven_register_signal(raven_client)
|
||||
{%- endif %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue