Skip to content

Commit

Permalink
Merge branch 'master' into enh/let-me-logout
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz authored Oct 22, 2024
2 parents b47b27c + ce9ffe8 commit b007357
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ async def wrapper(*args, **kwargs):
f"Please check code at: '{func.__module__}.{func.__name__}'"
)
_logger.exception(msg)
raise RejectMessage(msg) from e
# 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

return wrapper

0 comments on commit b007357

Please sign in to comment.