Simplify closed abruptly log msg

prompt_on_ctrlc
Tyler Goodlet 2023-01-25 19:13:34 -05:00
parent 5ed62c5c54
commit fca2e7c10e
1 changed files with 4 additions and 1 deletions

View File

@ -1599,7 +1599,10 @@ async def process_messages(
# handshake for them (yet) and instead we simply bail out of # handshake for them (yet) and instead we simply bail out of
# the message loop and expect the teardown sequence to clean # the message loop and expect the teardown sequence to clean
# up. # up.
log.runtime(f'channel from {chan.uid} closed abruptly:\n{chan}') log.runtime(
f'channel from {chan.uid} closed abruptly:\n'
f'-> {chan.raddr}\n'
)
# transport **was** disconnected # transport **was** disconnected
return True return True