okue
04/13/2020, 3:22 PMXxxCoroutineGrpc.XxxImplBase() ?
This is an example method:
override suspend fun someMethod(x: X): Y {
...
throw StatusRuntimeException(Status.NOT_FOUND)
}
and I want to call log.warn(e, e.message) when this method someMethod throws an exception.
Is there a class like Spring’s ControllerAdvice?