set error instead of throw
This commit is contained in:
parent
ca324c29e8
commit
d69fe27cf9
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@
|
|||
window.history.replaceState({}, null, callback.newUrl);
|
||||
processCallback(callback, initPromise);
|
||||
}).error(function (e) {
|
||||
throw 'Could not initialize iframe';
|
||||
initPromise.setError();
|
||||
});
|
||||
} else if (initOptions) {
|
||||
if (initOptions.token && initOptions.refreshToken) {
|
||||
|
|
Loading…
Reference in a new issue