mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
errors: Add logging for consuming processed error reports.
This should make it a big easier to debug issues with this system.
This commit is contained in:
parent
0dd5d6cea0
commit
04ae2977fa
@ -273,6 +273,7 @@ class ErrorReporter(QueueProcessingWorker):
|
||||
|
||||
def consume(self, event):
|
||||
# type: (Mapping[str, Any]) -> None
|
||||
logging.info("Processing traceback with type %s for %s" % (event['type'], event.get('user_email')))
|
||||
if settings.DEPLOYMENT_ROLE_KEY:
|
||||
self.staging_client.forward_error(event['type'], event['report'])
|
||||
elif settings.ZILENCER_ENABLED:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user