diff options
author | Andrew Dolgov <[email protected]> | 2021-11-14 15:57:43 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-11-14 15:57:56 +0300 |
commit | 9b5d199ad9b7234d1067f85137a671edd71e08ca (patch) | |
tree | b580139905566f99c92258d41ccf1b4d8acf3fa5 /js/common.js | |
parent | 87a30d88d36941ad817f0d1409e2ededbe576af6 (diff) |
xhr.json: don't call resolve() on failed to parse data
Diffstat (limited to 'js/common.js')
-rwxr-xr-x | js/common.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/common.js b/js/common.js index 1299a0c64..0955ba6c8 100755 --- a/js/common.js +++ b/js/common.js @@ -198,6 +198,7 @@ const xhr = { failed(e); reject(e); + return; } console.log('xhr.json', '<<<', obj, (new Date().getTime() - xhr._ts) + " ms"); |