mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Correctly pass exceptions
This commit is contained in:
parent
65b965ed4c
commit
59baf31dfe
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class TelegramBot:
|
|||
try:
|
||||
return await self.Call(message.chat, command, *parameters, update=update).run()
|
||||
except Exception as exc:
|
||||
return await self.Call(message.chat, self.error_command, *parameters, update=update).run()
|
||||
return await self.Call(message.chat, self.error_command, *parameters, update=update, exception=exc).run()
|
||||
|
||||
async def handle_net_request(self, message: Message):
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue