Permalink
Browse files

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

  • Loading branch information...
1 parent b683572 commit f564e5e373baca4d5a73a32a94711051d257c3e2 @jacobian jacobian committed Mar 23, 2012
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")

0 comments on commit f564e5e

Please sign in to comment.