Closed
Bug 553897
Opened 14 years ago
Closed 14 years ago
httpd.js swallows ReferenceErrors and spits them out as 500 errors
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jdm, Unassigned)
Details
I had a typo in a handler argument name and it took me forever to realize it because I just kept getting uninformative 500 errors back.
Comment 1•14 years ago
|
||
This is mostly by design; returning error messages in pages can be a security hole in some cases. (Yes, I treat the server as though it were being used seriously, and it is quite paranoid about malformed inputs and such.) If you want debugging information, try out the technique implemented in bug 540633 (speaking of which, that should be documented -- I'll poke zwol about it when he gets back from PTO) -- or tweak testing/mochitest/server.js by adding |DEBUG = true;| to it.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•6 years ago
|
Component: httpd.js → General
You need to log in
before you can comment on or make changes to this bug.
Description
•