Add debug output for NetworkMonitor

This commit is contained in:
Philipp Hörist 2018-09-10 20:27:22 +02:00 committed by Philipp Hörist
parent 648ac9fe89
commit 06c66aaff1
1 changed files with 1 additions and 0 deletions

View File

@ -2500,6 +2500,7 @@ class Interface:
# same state, not only on change.
return
self.network_state = connected
log.debug('NetworkMonitor state change: %s', connected)
if connected:
for connection in app.connections.values():
if connection.connected <= 0 and connection.time_to_reconnect: