mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix handled/no handled status in logs
This commit is contained in:
parent
f313d53ddf
commit
dc742a0124
1 changed files with 1 additions and 1 deletions
|
|
@ -54,8 +54,8 @@ class Dispatcher(Router):
|
|||
Bot.set_current(bot)
|
||||
try:
|
||||
async for result in self.update_handler.trigger(update, bot=bot, **kwargs):
|
||||
yield result
|
||||
handled = True
|
||||
yield result
|
||||
finally:
|
||||
finish_time = loop.time()
|
||||
duration = (finish_time - start_time) * 1000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue