attempt at error reporting

feature-unify_handlers
Tomáš Mládek 2018-01-30 15:18:17 +01:00 committed by Tomáš Mládek
parent c2203f3d40
commit 9dd00e7d03
1 changed files with 2 additions and 0 deletions

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():