xhr.json: don't call resolve() on failed to parse data

This commit is contained in:
Andrew Dolgov 2021-11-14 15:57:43 +03:00
parent 87a30d88d3
commit 9b5d199ad9
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ const xhr = {
failed(e);
reject(e);
return;
}
console.log('xhr.json', '<<<', obj, (new Date().getTime() - xhr._ts) + " ms");