Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashley Heath committed Dec 14, 2023
1 parent e8011e9 commit 49c43ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion procrastinate/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def find_exception_to_re_raise(
# (e.g. a CancelledError, SystemExit, etc.) then we want to persist the
# outcome of the job before propagating the exception further up the
# call stack.
return ex.__cause__ if not isinstance(e.__cause__, Exception) else None
return ex.__cause__ if not isinstance(ex.__cause__, Exception) else None

status, retry_at = None, None
exception_to_re_raise = None
Expand Down

0 comments on commit 49c43ae

Please sign in to comment.