You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UnboundLocalError: local variable 'answer' referenced before assignment
File "app/run.py", line 63, in new_func
old_func(bot, update)
File "app/run.py", line 293, in handle_buttonpress
bot.answer_callback_query(query.id, text=answer)
So, we somehow managed to fall through the cases in the if above - we probably should add an else.
Sentry got this exception (internal public link):
So, we somehow managed to fall through the cases in the
if
above - we probably should add anelse
.The line of code: https://github.com/chaosdorf/telemete/blob/master/run.py#L296
The text was updated successfully, but these errors were encountered: