← 教程列表
coding

Error Handling

📅 2026/6/12 16:30:02⏱ 约 5 分钟阅读👁 8 阅读

- Malformed JSON from WebSocket clients: log to stderr, continue - Unhandled opcodes: close with status 1003 - Client disconnects: remove from broadcast set - `fs.watch` errors: log to stderr, continue - No graceful shutdown logic — shell scripts handle process lifecycle via SIGTERM

← 返回教程列表 AI8899 · 内容仅供学习参考