errors: Simplify manual testing of error emails.

There are two different things you need to patch in order to get error
emails (at `/emails`) in dev.  Flip one of them in dev all the time,
and make the comment on the other a bit more explicit.
This commit is contained in:
Greg Price
2017-11-30 17:16:30 -08:00
committed by Steve Howell
parent a34c01780f
commit ca5c991994
3 changed files with 9 additions and 11 deletions

View File

@@ -1282,7 +1282,7 @@ LOGGING = {
'zulip_admins': {
'level': 'ERROR',
'class': 'zerver.logging_handlers.AdminNotifyHandler',
# For testing the handler delete the next line
# For manual testing of this handler, delete the `filters` line.
'filters': ['ZulipLimiter', 'require_debug_false', 'require_really_deployed'],
'formatter': 'default'
},