This repository has been archived by the owner on Aug 17, 2022. It is now read-only.
[FEAT] Be able to get information about the exception thrown in case of failure #62
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As point in https://github.com/loveOSS/resiliency/issues/61, we are not able to know which exception is responsible of a failure and so on we are not able to open/close manually our circuit breaker according to the exception.
As the current architecture doesn't allows to setup the related exception of a circuit breaker, the only chance we get is to add a new event and allow developer to manually setup new conditions of open/close decision.
This could be improved but I don't see how without introducing a big breaking change, what I don't want as I'm not involved in PHP projects anymore.