Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hystrix: wrap original err before returning from tryFallback #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

krantideep95
Copy link

@krantideep95 krantideep95 commented Mar 21, 2020

This will allow assertion on the error type (example: errors.Is(err, hystrix.ErrTimeout)) instead of doing substring matching from the errors returned after trying fallback

@spokc
Copy link

spokc commented Jul 15, 2020

+1

@krantideep95
Copy link
Author

This has been merged to https://github.com/kargakis/hystrix-go. use that if you are looking for actively maintained fork of this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants