Fix missing error logging

No error logging when handle_in_background=True
This commit is contained in:
unintended 2024-04-11 10:33:55 +03:00 committed by Ilya Samartsev
parent 4729978c60
commit 76f1d26377

View file

@ -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(