From fe1feca009876772e3dbcacd69d9da06e0c399ec Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 14 Nov 2021 15:57:43 +0300 Subject: [PATCH] xhr.json: don't call resolve() on failed to parse data --- js/common.js | 1 + 1 file changed, 1 insertion(+) 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");