From 7a9599786c2daaa7a8c14c1ad13882b5e6dd590d Mon Sep 17 00:00:00 2001 From: Smittix Date: Tue, 6 Jan 2026 21:48:42 +0000 Subject: [PATCH] Add error handling to checkStatus() to prevent console errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The periodic /status check was throwing uncaught promise errors when the server was unavailable or restarting. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- templates/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/index.html b/templates/index.html index 12cedc5..7959e17 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3114,6 +3114,9 @@ startStream(); } } + }) + .catch(() => { + // Silently ignore - server may be restarting or network issue }); }