Skip to content

Commit e3ed907

Browse files
committed
fix: add warning if websocket connection isnt open
1 parent 4381b71 commit e3ed907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hivemind_bus_client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def emit(self, message: Union[MycroftMessage, HiveMessage],
357357
message = HiveMessage(msg_type=HiveMessageType.BUS,
358358
payload=message)
359359
if not self.connected_event.is_set():
360-
LOG.warning(f"hivemind connection not ready: {message.serialize()}")
360+
LOG.warning("hivemind connection not ready!")
361361
if not self.connected_event.wait(10):
362362
if not self.started_running:
363363
raise ValueError('You must execute run_forever() '

0 commit comments

Comments
 (0)