mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
Add error handling to checkStatus() to prevent console errors
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 <noreply@anthropic.com>
This commit is contained in:
@@ -3114,6 +3114,9 @@
|
||||
startStream();
|
||||
}
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
// Silently ignore - server may be restarting or network issue
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user