diff --git a/grpc-spring-boot-starter/src/main/java/org/lognet/springboot/grpc/FailureHandlingSupport.java b/grpc-spring-boot-starter/src/main/java/org/lognet/springboot/grpc/FailureHandlingSupport.java index f0cc5d5..ec9acf1 100644 --- a/grpc-spring-boot-starter/src/main/java/org/lognet/springboot/grpc/FailureHandlingSupport.java +++ b/grpc-spring-boot-starter/src/main/java/org/lognet/springboot/grpc/FailureHandlingSupport.java @@ -45,6 +45,7 @@ public void closeCall(Exception e, ServerCall call, Metadata headers, Cons log.warn("Closing call with {}", status); call.close(status, Optional.ofNullable(metadata).orElseGet(Metadata::new)); } else { + log.error("Unhandled exception", e); log.warn("Closing call with {}", Status.INTERNAL); call.close(Status.INTERNAL, new Metadata()); }