mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
chore: Update disconnecting log message
websocket disconnection could happen in both sending/receiving text, update the log message to make it less confusing. Co-authored-by: Xiang (Sean) Zhou <seanzhougoogle@google.com> PiperOrigin-RevId: 852410439
This commit is contained in:
committed by
Copybara-Service
parent
838530ebe0
commit
e850e9c9ba
@@ -1657,7 +1657,8 @@ class AdkWebServer:
|
||||
for task in done:
|
||||
task.result()
|
||||
except WebSocketDisconnect:
|
||||
logger.info("Client disconnected during process_messages.")
|
||||
# Disconnection could happen when receive or send text via websocket
|
||||
logger.info("Client disconnected during live session.")
|
||||
except Exception as e:
|
||||
logger.exception("Error during live websocket communication: %s", e)
|
||||
traceback.print_exc()
|
||||
|
||||
Reference in New Issue
Block a user