mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
sendOTA 之前在 catch 里直接返回 null,连接被拒、跨域被拦、HTTP 错误、 返回不是 JSON 都被吞掉,页面只能显示"连接失败: OTA连接失败"。 现在这些情况以及响应缺少 websocket 信息时,都抛出带 OTA 地址和排查 提示的错误,由拨号逻辑原样显示在对话区。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| audio | ||
| mcp | ||
| network | ||