webhooks: Do log non-"unsupported" errors to main logfiles.

This undoes a small part of b8a2e6b5f8; namely, logs to
`zulip.zerver.webhooks`, which are all exceptions from webhooks except
UnsupportedWebhookEventType, should still be logged to the main error
loggers.  This maintains the property that exceptions generating 500's
are all present in `errors.log`.
This commit is contained in:
Alex Vandiver
2020-09-14 12:58:16 -07:00
parent 20775e5429
commit cba1722129

View File

@@ -952,7 +952,7 @@ LOGGING: Dict[str, Any] = {
},
'zulip.zerver.webhooks': {
'level': 'DEBUG',
'handlers': ['webhook_file'],
'handlers': ['file', 'errors_file', 'webhook_file'],
'propagate': False,
},
'zulip.zerver.webhooks.unsupported': {