danielfm / pybreaker

Python implementation of the Circuit Breaker pattern.
BSD 3-Clause "New" or "Revised" License
512 stars 74 forks source link

Add trigger exception into the CircuitBreakerError #35

Closed tczhaodachuan closed 6 years ago

tczhaodachuan commented 6 years ago

When using python 2.7, the trigger exception is lost when the CB's threshold breaches and CB's in half-open status and failed on the retry.

danielfm commented 6 years ago

Thanks!