1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
This commit is contained in:
Steffo 2019-10-22 19:32:34 +02:00
parent a04020daba
commit 68ab18259a

View file

@ -205,10 +205,6 @@ class TelegramBot(GenericBot):
error_text = f"⛔️ {e.__class__.__name__}\n" error_text = f"⛔️ {e.__class__.__name__}\n"
error_text += '\n'.join(e.args) error_text += '\n'.join(e.args)
await self.safe_api_call(query.answer, text=error_text) await self.safe_api_call(query.answer, text=error_text)
if __debug__:
raise
else:
return
else: else:
await self.safe_api_call(query.answer, text=response) await self.safe_api_call(query.answer, text=response)