mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-28 00:20:48 +00:00
update logging
This commit is contained in:
parent
ee08a5619c
commit
e6ff5097c0
1 changed files with 2 additions and 1 deletions
|
|
@ -103,8 +103,9 @@ class WebsocketClientInterface(Interface):
|
|||
|
||||
# connect to websocket server
|
||||
try:
|
||||
RNS.log(f"Establishing Websocket connection for {str(self)}...", RNS.LOG_DEBUG)
|
||||
RNS.log(f"Connecting to Websocket for {str(self)}...", RNS.LOG_DEBUG)
|
||||
self.websocket = connect(f"{self.target_type}://{self.target_host}:{self.target_port}", max_size=None, compression=None)
|
||||
RNS.log(f"Connected to Websocket for {str(self)}", RNS.LOG_DEBUG)
|
||||
self.read_loop()
|
||||
except Exception as e:
|
||||
RNS.log(f"{self} failed with error: {e}", RNS.LOG_ERROR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue