Skip to content

Commit

Permalink
fix: add note
Browse files Browse the repository at this point in the history
  • Loading branch information
dtdang committed Nov 1, 2024
1 parent 1ad9353 commit 61fa711
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions silverback/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def __init__(self, *exceptions: Exception | str):
super().__init__("Startup failure(s) detected. See logs for details.")


# NOTE: Subclass `click.UsageError` here so bad requests in CLI don't show stack trace
class ClientError(SilverbackException, click.UsageError):
"""Exception for client errors in the HTTP request."""

Expand Down

0 comments on commit 61fa711

Please sign in to comment.