From 54cf648d74e5b3144e7f384bd61cc85a3a88236b Mon Sep 17 00:00:00 2001 From: jaredgoldman Date: Mon, 27 Mar 2023 22:08:55 -0400 Subject: [PATCH] Ensure sub logging dict attritbutes will be there --- piker/brokers/kucoin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/brokers/kucoin.py b/piker/brokers/kucoin.py index c851ed6d..0c3d1c7e 100644 --- a/piker/brokers/kucoin.py +++ b/piker/brokers/kucoin.py @@ -500,7 +500,7 @@ async def stream_quotes( tasks.append(make_sub(kucoin_sym, connect_id, level='l1')) for task in tasks: - log.info(f'Subscribing to {task.level} feed for {sym}') + log.info(f'Subscribing to {task["topic"]} feed for {sym}') await ws.send_msg(task) yield