From 3b34b0bade29e0e7e9f224e3f356f42289551da1 Mon Sep 17 00:00:00 2001 From: randogoth Date: Mon, 22 May 2023 11:37:51 +0300 Subject: [PATCH] debug --- web/nfc-theme/static/user.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/nfc-theme/static/user.js b/web/nfc-theme/static/user.js index 4d773bb..6a90c05 100644 --- a/web/nfc-theme/static/user.js +++ b/web/nfc-theme/static/user.js @@ -32,4 +32,7 @@ fetch('https://nmns.place/track?' + new URLSearchParams({ })).then(response => response.text().then((text) => { progress = document.querySelector('span#progress').content document.querySelector('span#progress').content = text +})) +.catch(error => { + // handle the error }); \ No newline at end of file