Replies: 2 comments 2 replies
-
Hi! The stacktrace seems slightly out of sync from the main branch. |
Beta Was this translation helpful? Give feedback.
1 reply
-
If you're looking to handle exceptions, have you been able to take a look at GrpcService.builder()
.exceptionHandler(new ExceptionHandler())
And yes, I believe you're asking in the right place 👍 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team, we occasionally receive RST_STREAMs from our clients due to timing out before our server is able to send a response back. The messages are expected to be retried so we are not worried about data loss, however we would like to catch the RST_STREAM exceptions and handle them ourselves. I am trying to implement a ServerInteceptor as an exception handler of sorts, however the
handleException()
function isn't reached when we encounter the exception.The full exception stack trace is shown below. I wasn't sure if this was the right place to ask this question or in grpc-java, but the stacktrace shows the exception coming from Armeria so I thought I'd try here first. Am I missing something in order to catch this specific exception? Or is there a better way of handling this? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions