mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1083068 - Improve SDK logging when a promise is rejected during tests. r=gozala
This commit is contained in:
parent
81ec3dcf99
commit
7cb9870df6
@ -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