Skip to content

Commit df94ee4

Browse files
authored
Update __main__.py
1 parent 72f9619 commit df94ee4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tg_bot/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ def process_update(self, update):
685685
self.logger.exception(
686686
"An uncaught error was raised while processing the update"
687687
)
688-
except KeyError:
688+
except AttributeError:
689689
LOGGER.info("We have received an invalid update from telegram, skipping")
690690

691691

0 commit comments

Comments
 (0)