Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
minor syntax update
  • Loading branch information
malkaed committed May 27, 2022
commit cf3458b90b9f938f6eb4c9c85cb6cc860748c16e
2 changes: 1 addition & 1 deletion temporal/retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async def retry_loop(*args, **kwargs):
await fp(*args, **kwargs)
logger.debug("@retry decorated function %s exited, ending retry loop", fp.__name__)
break
except asyncio.CancelledError as ex:
except asyncio.CancelledError:
logger.info("%s raised CancelledError, retrying...", fp.__name__)
await asyncio.sleep(INITIAL_DELAY_SECONDS)
except Exception as ex:
Expand Down