Commit e6c57fc
committed
ui: don't spam logs when NetworkManager is not available
_get_adapter treats the reply body as a list of device paths without
checking whether the reply is a D-Bus error. Without NetworkManager on
the bus the body is an error string, so it iterates the string, throws
on the first character, and the retry loop in _wait_for_wifi_device
logs a traceback every second.1 parent 4b6922b commit e6c57fc
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
519 | | - | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
520 | 523 | | |
521 | 524 | | |
522 | 525 | | |
| |||
0 commit comments