Skip to content

Commit a41c73a

Browse files
committed
docs(changelog): note ws_error/ws_close_code on UtilResponse (#29)
1 parent 6e11316 commit a41c73a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
# CHANGELOG
2+
## Unreleased
3+
4+
### 1. BUG FIXES
5+
6+
#### **Device Utilities: surface WebSocket errors on `UtilResponse`**
7+
`UtilResponse` now exposes `ws_error` and `ws_close_code` so callers can distinguish a clean WebSocket completion from an errored, abnormally-closed, or never-started one. Previously a WebSocket transport error was only logged and discarded, and a WS-backed command whose WebSocket failed to start was indistinguishable from a healthy trigger-only command.
8+
- `_on_error` records the first transport error (was a discard-only callback).
9+
- `_on_close` records the close status code and flags a non-1000 abnormal close.
10+
- `start_with_trigger` records `ws_error` when the WebSocket factory returns `None` or raises during setup.
11+
12+
Additive and backward-compatible: `ws_error` stays `None` on a clean completion or a trigger-only command. (#29)
13+
14+
---
15+
216
## Version 0.63.0 (June 2026)
317

418
**Released**: June 12, 2026

0 commit comments

Comments
 (0)