Commit 5c277c7
committed
Handle client disconnection gracefully in Thor handler
Catch EOFError, IOError, Errno::ECONNRESET, and Errno::EPIPE at the
outer handle loop so Async doesn't log scary unhandled exception traces
when clients disconnect mid-session.1 parent 6b148fe commit 5c277c7
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
201 | 203 | | |
202 | 204 | | |
203 | 205 | | |
| |||
0 commit comments