From d75d5a7dadaf60f3e0fc619af73d2964527a8d4a Mon Sep 17 00:00:00 2001 From: Timothy Pogue Date: Tue, 13 Sep 2022 16:06:25 -0600 Subject: [PATCH] debug ping error message --- freqtrade/rpc/external_message_consumer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/rpc/external_message_consumer.py b/freqtrade/rpc/external_message_consumer.py index 2ff261eee..fd6ccfacd 100644 --- a/freqtrade/rpc/external_message_consumer.py +++ b/freqtrade/rpc/external_message_consumer.py @@ -251,8 +251,9 @@ class ExternalMessageConsumer: logger.debug(f"Connection to {channel} still alive...") continue - except Exception: + except Exception as e: logger.warning(f"Ping error {channel} - retrying in {self.sleep_time}s") + logger.debug(e, exc_info=e) await asyncio.sleep(self.sleep_time) break