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