xhr.json: don't call resolve() on failed to parse data
This commit is contained in:
parent
15af164f69
commit
fe1feca009
|
@ -198,6 +198,7 @@ const xhr = {
|
||||||
failed(e);
|
failed(e);
|
||||||
|
|
||||||
reject(e);
|
reject(e);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('xhr.json', '<<<', obj, (new Date().getTime() - xhr._ts) + " ms");
|
console.log('xhr.json', '<<<', obj, (new Date().getTime() - xhr._ts) + " ms");
|
||||||
|
|
Loading…
Reference in New Issue