Commit 8158b5e
authored
fix: log removeDevice failures with structured error fields
Apply reviewer feedback from PR #1283 review:
- Log err.name and err.message instead of raw err object to avoid
{} serialization in JSON-based loggers, consistent with teardown()
and connect() error handling patterns in the same file
- Reformat long chained call in connect() for readability1 parent b929ed4 commit 8158b5e
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
92 | 100 | | |
93 | 101 | | |
94 | 102 | | |
| |||
249 | 257 | | |
250 | 258 | | |
251 | 259 | | |
252 | | - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
253 | 263 | | |
254 | 264 | | |
255 | 265 | | |
| |||
0 commit comments