We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20a1c0e commit ad941b4Copy full SHA for ad941b4
src/crawlee/_utils/retry.py
@@ -40,7 +40,7 @@ async def wrapper(*args: P.args, **kwargs: P.kwargs) -> T:
40
for attempt in range(max_attempts):
41
try:
42
return await func(*args, **kwargs)
43
- except exception_types as exc: # noqa: PERF203
+ except exception_types: # noqa: PERF203
44
if attempt >= max_attempts - 1:
45
raise
46
await _retry_sleep(base_delay_seconds * (2**attempt))
0 commit comments