mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
report_error: Fix inaccurate docstring.
do_report_error isn't actually below.
This commit is contained in:
committed by
Tim Abbott
parent
89394fc1eb
commit
2000608a9e
@@ -94,7 +94,7 @@ def report_error(request: HttpRequest, user_profile: UserProfile, message: str=R
|
||||
more_info: Optional[Dict[str, Any]]=REQ(validator=check_dict([]), default=None)
|
||||
) -> HttpResponse:
|
||||
"""Accepts an error report and stores in a queue for processing. The
|
||||
actual error reports are later handled by do_report_error (below)"""
|
||||
actual error reports are later handled by do_report_error"""
|
||||
if not settings.BROWSER_ERROR_REPORTING:
|
||||
return json_success()
|
||||
if more_info is None:
|
||||
|
||||
Reference in New Issue
Block a user