debug ping error message

This commit is contained in:
Timothy Pogue 2022-09-13 16:06:25 -06:00
parent 7a98775f01
commit d75d5a7dad

View File

@ -251,8 +251,9 @@ class ExternalMessageConsumer:
logger.debug(f"Connection to {channel} still alive...") logger.debug(f"Connection to {channel} still alive...")
continue continue
except Exception: except Exception as e:
logger.warning(f"Ping error {channel} - retrying in {self.sleep_time}s") logger.warning(f"Ping error {channel} - retrying in {self.sleep_time}s")
logger.debug(e, exc_info=e)
await asyncio.sleep(self.sleep_time) await asyncio.sleep(self.sleep_time)
break break