Skip to content

Commit bece3b0

Browse files
committed
feat: Reduce log level of JSONUtils.parseJsonString() errors
1 parent f693849 commit bece3b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec-grpc/src/main/java/io/a2a/grpc/utils/JSONRPCUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ public static void parseJsonString(String body, com.google.protobuf.Message.Buil
418418
try {
419419
JsonFormat.parser().merge(body, builder);
420420
} catch (InvalidProtocolBufferException e) {
421-
log.log(Level.SEVERE, "Protocol buffer parsing failed for JSON: {0}", body);
422-
log.log(Level.SEVERE, "Proto parsing error details", e);
421+
log.log(Level.FINE, "Protocol buffer parsing failed for JSON: {0}", body);
422+
log.log(Level.FINE, "Proto parsing error details", e);
423423
throw convertProtoBufExceptionToJsonProcessingException(e, id);
424424
}
425425
}

0 commit comments

Comments
 (0)