We use a custom exception view to catch certain API errors, and return a formatted json document.
When running with the debugtoolbar enabled, the client is served the correct document from the exception view... however the traceback panel for the squashed exception only contains everything up until that exception is raised.
We can get that info from the renderers panel, but it's a bit awkward as the information is all over the place.
I've got things solved in a custom panel for now, but I'd like to propose either changing the renderers panel or adding a new "response" panel.
In the current "renderer" panel, the "System Values" section is alphabetical. I propose duplicating view and context to their own sections (like render name) above the table.
We use a custom exception view to catch certain API errors, and return a formatted json document.
When running with the debugtoolbar enabled, the client is served the correct document from the exception view... however the traceback panel for the squashed exception only contains everything up until that exception is raised.
We can get that info from the renderers panel, but it's a bit awkward as the information is all over the place.
I've got things solved in a custom panel for now, but I'd like to propose either changing the renderers panel or adding a new "response" panel.
In the current "renderer" panel, the "System Values" section is alphabetical. I propose duplicating
viewandcontextto their own sections (like render name) above the table.