mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1083068 - Improve SDK logging when a promise is rejected during tests. r=gozala
This commit is contained in:
parent
4fe293ed6b
commit
958475419a
@ -62,7 +62,8 @@ TestRunner.prototype = {
|
||||
},
|
||||
|
||||
_uncaughtErrorObserver: function({message, date, fileName, stack, lineNumber}) {
|
||||
this.fail("There was an uncaught Promise rejection: " + stack);
|
||||
this.fail("There was an uncaught Promise rejection: " + message + " @ " +
|
||||
fileName + ":" + lineNumber + "\n" + stack);
|
||||
},
|
||||
|
||||
pass: function pass(message) {
|
||||
|
Loading…
Reference in New Issue
Block a user