better error message
This commit is contained in:
parent
f6017e7e49
commit
6225b1e2fe
|
@ -1030,7 +1030,7 @@
|
||||||
resolve();
|
resolve();
|
||||||
});
|
});
|
||||||
img.addEventListener('error', function () {
|
img.addEventListener('error', function () {
|
||||||
var err = new Error("not an oauth3 issuer");
|
var err = new Error("OAuth3 support not detected: '" + url + "' not found");
|
||||||
err.code = 'E_NOT_SUPPORTED';
|
err.code = 'E_NOT_SUPPORTED';
|
||||||
reject(err);
|
reject(err);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue