mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix missing error logging (#1458)
* Fix missing error logging No error logging when handle_in_background=True * add CHANGES
This commit is contained in:
parent
4729978c60
commit
f1c9fc50f0
2 changed files with 3 additions and 1 deletions
2
CHANGES/1458.bugfix.rst
Normal file
2
CHANGES/1458.bugfix.rst
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
Added missing error handling to :code:`_background_feed_update` (when in :code:`handle_in_background=True` webhook mode)
|
||||
|
||||
|
|
@ -186,7 +186,7 @@ class Dispatcher(Router):
|
|||
:param kwargs:
|
||||
"""
|
||||
parsed_update = Update.model_validate(update, context={"bot": bot})
|
||||
return await self.feed_update(bot=bot, update=parsed_update, **kwargs)
|
||||
return await self._feed_webhook_update(bot=bot, update=parsed_update, **kwargs)
|
||||
|
||||
@classmethod
|
||||
async def _listen_updates(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue