Skip to content

Commit

Permalink
✨ 3.6.7: catch more exceptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
AirportR committed Feb 18, 2024
1 parent 2e15c9d commit c8b8902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async def inner(*args, **kwargs):
result = await func(*args, **kwargs)
else:
result = func(*args, **kwargs)
except aiohttp.ClientError:
except (aiohttp.ClientError, asyncio.exceptions.TimeoutError, ConnectionResetError, Exception):
continue
if break_func(result):
break
Expand Down

0 comments on commit c8b8902

Please sign in to comment.