We throw away too much information after JS exceptions

NEW
Unassigned

Status

()

7 years ago
4 years ago

People

(Reporter: jorendorff, Unassigned)

Tracking

Other Branch
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
Not only do we not always capture stack info (bug 686587); after an exception is thrown we discard most of the information before reporting it.

The console only gets the error message, url, and line number. See also bug 683733.

We should keep a stack and the exception value at least.
One more thing to add to this that in case of throwing a simple string,like throw 'myError' even the line number and the url are not stored.
(Assignee)

Updated

4 years ago
Assignee: general → nobody
You need to log in before you can comment on or make changes to this bug.