Skip to content

Commit

Permalink
Update sw_utils/decorators.py
Browse files Browse the repository at this point in the history
Co-authored-by: evgeny-stakewise <[email protected]>
Signed-off-by: antares-sw <[email protected]>
  • Loading branch information
antares-sw and evgeny-stakewise authored Apr 29, 2024
1 parent 3389ba3 commit ce7410c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw_utils/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def default_log_before(retry_state: 'RetryCallState') -> None:
default_logger.log(logging.INFO, msg, *args)


def default_after(future: Any) -> None:
def default_after(future: Any) -> NoReturn:
raise future.outcome.exception()


Expand Down

0 comments on commit ce7410c

Please sign in to comment.