From bd95392eea3c4cdae7c5f97557a359599664ba34 Mon Sep 17 00:00:00 2001 From: Timothy Pogue Date: Fri, 25 Nov 2022 13:10:22 -0700 Subject: [PATCH] fix formatted string in warning message :) --- freqtrade/rpc/api_server/api_ws.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/rpc/api_server/api_ws.py b/freqtrade/rpc/api_server/api_ws.py index 6ecc1ef2a..9e7bb17a4 100644 --- a/freqtrade/rpc/api_server/api_ws.py +++ b/freqtrade/rpc/api_server/api_ws.py @@ -40,7 +40,7 @@ async def channel_broadcaster(channel: WebSocketChannel, message_stream: Message # Log a warning if this channel is behind # on the message stream by a lot if (time.time() - ts) > 60: - logger.warning("Channel {channel} is behind MessageStream by 1 minute," + logger.warning(f"Channel {channel} is behind MessageStream by 1 minute," " this can cause a memory leak if you see this message" " often, consider reducing pair list size or amount of" " consumers.")