ensure we can still redraw after a promise error that gets thrown by the exception monitor
This commit is contained in:
parent
c57b0b4047
commit
1e0ad6c3d7
2 changed files with 4 additions and 2 deletions
|
|
@ -990,7 +990,10 @@ var m = (function app(window, undefined) {
|
|||
}
|
||||
}
|
||||
m.deferred.onerror = function(e) {
|
||||
if (type.call(e) === "[object Error]" && !e.constructor.toString().match(/ Error/)) throw e
|
||||
if (type.call(e) === "[object Error]" && !e.constructor.toString().match(/ Error/)) {
|
||||
pendingRequests = 0
|
||||
throw e
|
||||
}
|
||||
};
|
||||
|
||||
m.sync = function(args) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue