From fca2e7c10e85346a3cd3358bb1b72d9ecacac4ad Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 25 Jan 2023 19:13:34 -0500 Subject: [PATCH] Simplify closed abruptly log msg --- tractor/_runtime.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tractor/_runtime.py b/tractor/_runtime.py index 12b1f82..e826258 100644 --- a/tractor/_runtime.py +++ b/tractor/_runtime.py @@ -1599,7 +1599,10 @@ async def process_messages( # handshake for them (yet) and instead we simply bail out of # the message loop and expect the teardown sequence to clean # 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 return True