Skip to content

Commit

Permalink
revert code to newer version
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg committed Oct 22, 2024
1 parent ce9ffe8 commit 2e105aa
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ async def wrapper(*args, **kwargs):
f"Please check code at: '{func.__module__}.{func.__name__}'"
)
_logger.exception(msg)
# NOTE: the new version of fast-depends allows to pass a parameter until then we keep it simple
# raise RejectMessage(reason=msg) from e
raise RejectMessage from e
raise RejectMessage(reason=msg) from e

return wrapper

0 comments on commit 2e105aa

Please sign in to comment.