feat(compute): Fix ambiguous log message related to the active console transport.

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Cristi 2026-04-30 18:07:23 +03:00
parent 9d451eb652
commit d7c78f5744

View File

@ -584,7 +584,10 @@ class BaseNode:
done, pending = await asyncio.wait(aws, return_when=asyncio.FIRST_COMPLETED)
for task in done:
if task.exception():
log.warning(f"Exception while forwarding WebSocket data to Telnet server {task.exception()}")
log.warning(
f"Exception while forwarding WebSocket data to "
f"{self._console_type.upper()} server: {task.exception()}"
)
for task in pending:
task.cancel()