attempt at error reporting

This commit is contained in:
Tomáš Mládek 2018-01-30 15:18:17 +01:00
parent 11b2990dce
commit bb9285d2ba

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