throttled error mails to be sent to admins whenever an error occurs.
But I can not get it working.
a) Normal django error mailing is working. b) but on removing ADMINS
and adding SENTRY_ADMINS(like below) it stops working:
DEBUG = False
TEMPLATE_DEBUG = DEBUG
SENTRY_TESTING = True
ADMINS = ()
SENTRY_ADMINS = ('my.name@domain.com',)
MANAGERS = ADMINS
MIDDLEWARE_CLASSES = (
'sentry.client.middleware.SentryResponseErrorIdMiddleware',
....
)
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = 'name@gmail.com'
EMAIL_HOST_PASSWORD = 'password'
EMAIL_PORT = 587
Though entries are correctly being made and shown in panel. I mark all
errors as resolved before testing(to satisfy throttle condition of
sentry) but it is still not working.
Can anyone point to what I am doing wrong here?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment