Skip to content

Commit

Permalink
Fix circuit broker recursive exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavkazzz committed Sep 28, 2023
1 parent d9dcce7 commit 375d7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiomisc/circuit_breaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, last_exception: Optional[Exception]):
self.last_exception = last_exception

def __repr__(self) -> str:
return f"<{self!r}: {self.last_exception!r}>"
return f"<CircuitBroken: {self.last_exception!r}>"


class CircuitBreaker(EventLoopMixin):
Expand Down

0 comments on commit 375d7f6

Please sign in to comment.