summaryrefslogtreecommitdiff
path: root/js/common.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-14 15:57:43 +0300
committerAndrew Dolgov <[email protected]>2021-11-14 15:57:56 +0300
commit9b5d199ad9b7234d1067f85137a671edd71e08ca (patch)
treeb580139905566f99c92258d41ccf1b4d8acf3fa5 /js/common.js
parent87a30d88d36941ad817f0d1409e2ededbe576af6 (diff)
xhr.json: don't call resolve() on failed to parse data
Diffstat (limited to 'js/common.js')
-rwxr-xr-xjs/common.js1
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");