Skip to content

Commit ee182f3

Browse files
authored
re throw the exception
1 parent d08e319 commit ee182f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ng/q.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,7 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
380380
var toCheck = checkQueue.shift();
381381
if (!toCheck.pur) {
382382
toCheck.pur = true;
383-
var errorMessage = 'Possibly unhandled rejection: ' + toDebugString(toCheck.value);
384-
exceptionHandler(errorMessage);
383+
exceptionHandler(toCheck.value);
385384
}
386385
}
387386
}

0 commit comments

Comments
 (0)