Skip to content

Commit 963fe9a

Browse files
author
James Smith
committed
log if instantiation of a server interceptor fails
1 parent 1234070 commit 963fe9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grpc-spring-boot-starter/src/main/java/org/lognet/springboot/grpc/GRpcServerRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ private List<ServerInterceptor> buildInterceptors(Class<? extends ServerIntercep
7878
try {
7979
interceptors.add(clazz.newInstance());
8080
} catch (InstantiationException | IllegalAccessException e) {
81-
// TODO
81+
log.error("Unable to instantiate ServerInterceptor from class {}", clazz, e);
8282
}
8383
}
8484

0 commit comments

Comments
 (0)