Opened 3 years ago

Closed 2 years ago

#28510 closed New feature (wontfix)

Add JSON reporter for technical_500_response (debug) view

Reported by: Ivan Chernoff Owned by: Ivan Chernoff
Component: Error reporting Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no


Hi, fellows.

I was seeing file django/views/ Based on it, on ajax request exception django responds in plain/text format. But when you are debugging API calls in something like postman or soap-ui, it's prettier to see json, because it has better viewer.
Propose to change plain/text response to application/json. if client send 'Accept: application/json'.

Change History (4)

comment:1 Changed 3 years ago by Ivan Chernoff

Made simple implementation in PR:

comment:2 Changed 3 years ago by Claude Paroz

Patch needs improvement: set
Triage Stage: UnreviewedAccepted

comment:3 Changed 3 years ago by Tim Graham

Component: UtilitiesError reporting
Summary: Add json reporter for debug viewAdd JSON reporter for technical_500_response (debug) view

comment:4 Changed 2 years ago by Tim Graham

Resolution: wontfix
Status: assignedclosed

The reporter has withdrawn the ticket, "I don't think this is a needed one after all."

Note: See TracTickets for help on using tickets.
Back to Top