wip
This commit is contained in:
@@ -18,7 +18,7 @@ class Watcher:
|
||||
|
||||
def log_watch(var_name, message):
|
||||
global watcher_sock
|
||||
ensure_socket_connected() # Ensure the socket is connected before attempting to log
|
||||
self.ensure_socket_connected() # Ensure the socket is connected before attempting to log
|
||||
if watcher_sock: # Proceed only if sock is not None (i.e., is connected)
|
||||
message_json = json.dumps(message)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user