Closed Bug 768419 Opened 13 years ago Closed 10 years ago

Capture and log javascript stacktrace at the point of error

Categories

(Pancake Graveyard :: Front-end, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sfoster, Unassigned)

Details

Currently when we throw an exception, most/all go uncaught all the way up to our global window.onerror listener - where the stacktrace and other error details and context are lost. Instead we need to raise and catch errors at the point of origin, using try/catch and promise errbacks to handle and log these errors. The lib/errors code may also need overhaul to strip error logging fluff from the stacktrace.
See https://bugzilla.mozilla.org/show_bug.cgi?id=764600 for history/details on error logging.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.