You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an error is returned and that the requested content type to be returned is HTML or plain text, the Exception Details section contains a string literal representation of the JSON object that would otherwise be displayed if asking application/json content-type.
Since the details are always expected to be a JSON structure, they should be dumped with "pretty-print" format using indents for better readability. Relevant code here:
When an error is returned and that the requested content type to be returned is HTML or plain text, the
Exception Details
section contains a string literal representation of the JSON object that would otherwise be displayed if askingapplication/json
content-type.Since the details are always expected to be a JSON structure, they should be dumped with "pretty-print" format using indents for better readability. Relevant code here:
Magpie/magpie/api/exception.py
Lines 412 to 428 in 39de50a
The text was updated successfully, but these errors were encountered: