diff libervia/pages/_browser/bridge.py @ 1506:ce879da7fcf7

server: fix `on_signal` callback
author Goffi <goffi@goffi.org>
date Thu, 23 Mar 2023 17:50:54 +0100
parents 409d10211b20
children 106bae41f5c8
line wrap: on
line diff
--- a/libervia/pages/_browser/bridge.py	Sat Mar 04 18:37:17 2023 +0100
+++ b/libervia/pages/_browser/bridge.py	Thu Mar 23 17:50:54 2023 +0100
@@ -106,6 +106,9 @@
         msg_data = json.loads(message_evt.data)
         msg_type = msg_data.get("type")
         if msg_type == "bridge":
+            log.debug(
+                f"==> bridge message: {msg_data=}"
+            )
             self.broadcast_channel.post(
                 msg_type,
                 msg_data["data"]