maybe fix error?
This commit is contained in:
parent
1403711bb0
commit
6a0dc0b00b
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ def start(bot, update):
|
||||||
|
|
||||||
def error(bot, update, error):
|
def error(bot, update, error):
|
||||||
logger.error(error)
|
logger.error(error)
|
||||||
if "Timed out" in error:
|
if "Timed out" in str(error):
|
||||||
if update is not None:
|
if update is not None:
|
||||||
update.message.reply_text("Now for realz tho")
|
update.message.reply_text("Now for realz tho")
|
||||||
handle_rest(bot, update)
|
handle_rest(bot, update)
|
||||||
|
|
Loading…
Reference in a new issue