telegram: Add logging in handle_raw()
patch 69fd83158f7bf48b9ab8ffc3cf18d7938cbe2967
Author: E. Bosch <presidev@AT@gmail.com>
Date: Fri Mar 31 22:46:58 CEST 2023
* telegram: Add logging in handle_raw()
diff -rN -u old-irgramd/telegram.py new-irgramd/telegram.py
--- old-irgramd/telegram.py 2024-11-22 17:21:53.210932382 +0100
+++ new-irgramd/telegram.py 2024-11-22 17:21:53.210932382 +0100
@@ -292,6 +292,8 @@
return type(entity).__name__
async def handle_raw(self, update):
+ self.logger.debug('Handling Telegram Raw Event: %s', update)
+
if isinstance(update, tgty.UpdateWebPage) and isinstance(update.webpage, tgty.WebPage):
event = self.webpending.pop(update.webpage.id, None)
if event: