Closed Bug 1093363 Opened 10 years ago Closed 10 years ago

Unhandled rejection console message omits stack

Categories

(Toolkit :: Async Tooling, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: jryans, Assigned: jryans)

Details

Attachments

(1 file)

The message printed to the browser console for an unhandled promise rejection omits the full stack, making it harder to take action on.

It seems to have been omitted by accident, as it is added to variable and then not used.
Are you talking of DOM Promise?
(In reply to David Rajchenbach-Teller [:Yoric] (use "needinfo") from comment #1)
> Are you talking of DOM Promise?

No, Promise.jsm.
Comment on attachment 8516327 [details] [diff] [review]
0001-Bug-1093363-Add-stack-to-unhandled-promise-rejection.patch

Review of attachment 8516327 [details] [diff] [review]:
-----------------------------------------------------------------

Good .catch(), thanks.
Attachment #8516327 - Flags: review?(dteller) → review+
https://hg.mozilla.org/mozilla-central/rev/7eb74a10030b
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: