From bcd496d4449abcc6dfb14a58eb4137e3ada875ba Mon Sep 17 00:00:00 2001 From: Kuba Suder Date: Mon, 13 May 2024 04:34:44 +0200 Subject: [PATCH] catch error when loading quote count --- skythread.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skythread.js b/skythread.js index f1c4e61..d492b8e 100644 --- a/skythread.js +++ b/skythread.js @@ -434,6 +434,8 @@ function loadThread(url, postId, nodeToUpdate) { }); stats.append(quotes); } + }).catch(error => { + console.warn("Couldn't load quote count: " + error); }); }).catch(error => { hideLoader(); -- 2.51.2