Better 500 template for AJAX calls
|Reported by:||Owned by:||Chris Beaven|
|Cc:||Alexander Koshelev, glenn@…, ramusus@…, Justin Lilly, Erik Allik, lrekucki@…, kmike84@…, gregor@…||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
Currently it's quite hard to debug errors raised during ajax calls because of full 500 page being returned. This diff adds simple 500 page, it's pretty close to code for pasting to dpaste but with additional GET\POST\META\FILES\Settings lists and error summary moved to top. Simple check to self.request.is_ajax() is made to select template to use.
As for me, it's much easier to use tools like Firebug with this patch.
Change History (36)
comment:9 Changed 8 years ago by
|Triage Stage:||Unreviewed → Design decision needed|
|Version:||1.0 → SVN|