Commit ebf6894
Suppress connection error stack traces in client executables
Rescue connection errors (e.g. ConnectionResetError) inside the Async
block to prevent Async's "unhandled exception" warning, and output
clean error messages to stderr. Full backtraces are available via
TERMINALWIRE_DEBUG=1.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5c277c7 commit ebf6894
3 files changed
Lines changed: 8 additions & 2 deletions
File tree
- gem
- terminalwire-client/lib/terminalwire
- terminalwire/exe
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
0 commit comments