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