с ошибкой и именно на него лог ерорр записать?
https://docs.python.org/3/library/asyncio-task.html#asyncio.gather If all awaitables are completed successfully, the result is an aggregate list of returned values. The order of result values corresponds to the order of awaitables in aws. If return_exceptions is False (default), the first raised exception is immediately propagated to the task that awaits on gather(). Other awaitables in the aws sequence won’t be cancelled and will continue to run. If return_exceptions is True, exceptions are treated the same as successful results, and aggregated in the result list.
Обсуждают сегодня