Open Bug 686594 Opened 13 years ago Updated 2 years ago

We throw away too much information after JS exceptions

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86
macOS
defect

Tracking

()

People

(Reporter: jorendorff, Unassigned)

Details

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: general → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.