strawberry-crisis commented on a change in pull request #1884:
URL: https://github.com/apache/incubator-shenyu/pull/1884#discussion_r683928944
##########
File path:
shenyu-plugin/shenyu-plugin-grpc/src/test/java/org/apache/shenyu/plugin/grpc/proto/MyStreamObserver.java
##########
@@ -28,26 +27,23 @@ public MyStreamObserver(final Boolean state) {
this.state = state;
}
- @SneakyThrows
@Override
public void onNext(final Boolean value) {
if (!value) {
- throw new Exception("exception");
+ throw new RuntimeException("exception");
Review comment:
OK
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]