From a9277728efaac03b835a088c87f4cc9f0436fccf Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Mon, 3 Nov 2014 15:55:00 +0100 Subject: [PATCH] Bug 1093363 - Add stack to unhandled promise rejection console message. r=Yoric --- toolkit/modules/Promise-backend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/modules/Promise-backend.js b/toolkit/modules/Promise-backend.js index e8814963153f..66eee4305afe 100644 --- a/toolkit/modules/Promise-backend.js +++ b/toolkit/modules/Promise-backend.js @@ -272,7 +272,7 @@ PendingErrors.addObserver(function(details) { } error.init( /*message*/ generalDescription + - "Date: " + details.date + "\nFull Message: " + details.message, + "Date: " + details.date + "\nFull Message: " + message, /*sourceName*/ details.fileName, /*sourceLine*/ details.lineNumber?("" + details.lineNumber):0, /*lineNumber*/ details.lineNumber || 0,