Log warning instead of exception on pubsub cancelled

one_ring_to_rule_them_all
Guillermo Rodriguez 2025-04-17 12:08:16 -03:00
parent 59521cd4db
commit 86e09a80f4
No known key found for this signature in database
GPG Key ID: 002CC5F1E6BDA53E
1 changed files with 2 additions and 2 deletions

View File

@ -635,7 +635,7 @@ async def open_pub_channel_at(
yield
except trio.Cancelled:
log.exception(
log.warning(
'open_pub_channel_at got cancelled!\n'
f'\tactor_name = {actor_name}\n'
f'\ttoken = {token}\n'
@ -697,7 +697,7 @@ async def open_sub_channel_at(
yield
except trio.Cancelled:
log.exception(
log.warning(
'open_sub_channel_at got cancelled!\n'
f'\tactor_name = {actor_name}\n'
f'\ttoken = {token}\n'