Ensure sub logging dict attritbutes will be there

small_kucoin_fixes
jaredgoldman 2023-03-27 22:08:55 -04:00
parent 68d0327d41
commit 54cf648d74
1 changed files with 1 additions and 1 deletions

View File

@ -500,7 +500,7 @@ async def stream_quotes(
tasks.append(make_sub(kucoin_sym, connect_id, level='l1')) tasks.append(make_sub(kucoin_sym, connect_id, level='l1'))
for task in tasks: 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) await ws.send_msg(task)
yield yield