mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
chore: add debug log for cloudonix websocket stop event (#176)
This commit is contained in:
parent
7aef9c6db5
commit
ad6261333d
1 changed files with 1 additions and 0 deletions
|
|
@ -389,6 +389,7 @@ class CloudonixProvider(TelephonyProvider):
|
|||
# Wait for "connected" event
|
||||
first_msg = await websocket.receive_text()
|
||||
msg = json.loads(first_msg)
|
||||
logger.debug(f"Received first message: {msg}")
|
||||
|
||||
if msg.get("event") != "connected":
|
||||
logger.error(f"Expected 'connected' event, got: {msg.get('event')}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue