mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
As a preparatory step to refactoring json_success to accept request as a parameter, change `do_report_error`, which is called from the events queue for "error_reports", to return None instead of json_success. Adds an assertion error to `ErrorReporter` queue processor and removes `JsonableError` from `do_report_error`. It is likely that `do_error_report` was moved from a view in a previous refactor, but was not updated to no longer return an HttpReponse.