Commit a50a641
David Ames
Handle OSError Network Unreachable
Try each endpoint for the controller until success, only throw an
exception if all endpoints have been attempted and failed.
Without this change, the client will throw an OSError exception when for
example trying to access the fan network from a host that is not on that
fan network.
Closes Issue: #4261 parent 151dd5a commit a50a641
1 file changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
311 | 316 | | |
312 | 317 | | |
313 | 318 | | |
| |||
0 commit comments