-
Notifications
You must be signed in to change notification settings - Fork 98
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
Throw specific BlockingOperationError instead of Error #65
Conversation
@bhchandra Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@bhchandra Thank you for signing the Contributor License Agreement! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! 👍 I requested a couple of changes (one legal, another one is just for convenience), good to go once fixed 🎉
agent/src/main/java/reactor/blockhound/BlockingOperationError.java
Outdated
Show resolved
Hide resolved
agent/src/main/java/reactor/blockhound/BlockingOperationError.java
Outdated
Show resolved
Hide resolved
…o demonstrate that there is no magic in BlockingOperationError and any error can be used (reactor#64)
@bsideup thank you for reviewing. Just want to point out that the Readme should also need to be changed. Shall I convert |
agent/src/main/java/reactor/blockhound/BlockingOperationError.java
Outdated
Show resolved
Hide resolved
@bhchandra good catch! Yes, please change the class in README too 👍 |
agent/src/main/java/reactor/blockhound/BlockingOperationError.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@bhchandra merged 🎉 thank you! 👍 |
To make it easier to maintain the tests and not rely on any string assertions, we should use the `BlockingOperationError` type that was introduced in #65
Fixes #64.