diff --git a/microprofile/grpc/core/src/main/java/io/helidon/microprofile/grpc/core/AbstractServiceBuilder.java b/microprofile/grpc/core/src/main/java/io/helidon/microprofile/grpc/core/AbstractServiceBuilder.java index 48c2819aeaa..bc3dd825e81 100644 --- a/microprofile/grpc/core/src/main/java/io/helidon/microprofile/grpc/core/AbstractServiceBuilder.java +++ b/microprofile/grpc/core/src/main/java/io/helidon/microprofile/grpc/core/AbstractServiceBuilder.java @@ -224,7 +224,7 @@ private static String nameFromMember(Annotation annotation, String member) { Object value = m.invoke(annotation); return value instanceof String s ? s : null; } catch (NoSuchMethodException e) { - LOGGER.log(Level.WARNING, () -> String.format("Annotation %s has no name() method", annotation)); + // falls through } catch (IllegalAccessException | InvocationTargetException e) { LOGGER.log(Level.WARNING, () -> String.format("Error calling name() method on annotation %s", annotation), e); }