APIHandler.write_error should set reason
field in JSON error response.
#2957
Labels
Milestone
reason
field in JSON error response.
#2957
When the
@json_errors
decorator was removed, to be replaced withAPIHandler.write_error
(see #2853), the establishment of thereason
field was not preserved. Since@json_errors
set that field and some notebook clients depend on its presence, it should be set in the compatible replacement.Please see Issue #2942 for the meandering details of how this conclusion came about.
The text was updated successfully, but these errors were encountered: