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 15af164f69
commit fe1feca009
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");