attempt at error reporting

This commit is contained in:
Tomáš Mládek 2018-01-30 15:18:17 +01:00 committed by Tomáš Mládek
parent c2203f3d40
commit 9dd00e7d03

View file

@ -97,6 +97,8 @@ def start(bot, update):
def error(bot, update, error):
logger.error(error)
if update is not None:
update.message.reply_text("Something is fucked: %s" % error)
def main():