Skip to content

Commit

Permalink
Update wifi_logger.py
Browse files Browse the repository at this point in the history
  • Loading branch information
annndruha committed Apr 12, 2024
1 parent c3afdb0 commit 508621b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wifi_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ def utf16len(text):
send_message(message)
time.sleep(5)
except (ConnectionError, requests.RequestException) as err:
logging.error(err)
send_host_down_message(err)
ACTIVE_CLIENTS = {}
host_alive = False
logging.error(err)
send_host_down_message(err)
time.sleep(30)
except Exception as err:
logging.error(err)
Expand Down

0 comments on commit 508621b

Please sign in to comment.