Jonas
Jonas
JCHJava Community | Help. Code. Learn.
Created by Jonas on 9/30/2024 in #java-help
Spring gRPC Contexts don't work as expected
Well, as mentioned in the original post message, I'm just using Context.current() in the same way as in the service methods, but in the exception handler, it just refers to an older context version. I'm pretty sure that it's caused by a wrong order, that the exceptionAdvice gets called before the interceptor so the exceptionAdvice got no chance to get the new version.
5 replies