Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Now that we've got Sentry, don't email errors any more.

  • Loading branch information...
commit f564e5e373baca4d5a73a32a94711051d257c3e2 1 parent b683572
@jacobian jacobian authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  django_website/settings/www.py
View
3  django_website/settings/www.py
@@ -195,7 +195,8 @@
INTERNAL_IPS = ['127.0.0.1']
INSTALLED_APPS.append('debug_toolbar')
-# Log errors to Sentry, if available.
+# Log errors to Sentry instead of email, if available.
if 'sentry_dsn' in SECRETS:
INSTALLED_APPS.append('raven.contrib.django')
SENTRY_DSN = SECRETS['sentry_dsn']
+ LOGGING["loggers"]["django.request"]["handlers"].remove("mail_admins")
Please sign in to comment.
Something went wrong with that request. Please try again.