mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-25 03:12:23 +02:00
feat(compute): Fix ambiguous log message related to the active console transport.
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
parent
9d451eb652
commit
d7c78f5744
@ -584,7 +584,10 @@ class BaseNode:
|
|||||||
done, pending = await asyncio.wait(aws, return_when=asyncio.FIRST_COMPLETED)
|
done, pending = await asyncio.wait(aws, return_when=asyncio.FIRST_COMPLETED)
|
||||||
for task in done:
|
for task in done:
|
||||||
if task.exception():
|
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:
|
for task in pending:
|
||||||
task.cancel()
|
task.cancel()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user