From e2784beedacda4ca3d0666567674db6f4de37581 Mon Sep 17 00:00:00 2001 From: Knative Prow Robot Date: Fri, 8 Mar 2024 07:12:25 +0000 Subject: [PATCH] Use error log level when contract parsing fails (#3742) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Christoph Stäbler --- .../eventing/kafka/broker/core/eventbus/ContractPublisher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-plane/core/src/main/java/dev/knative/eventing/kafka/broker/core/eventbus/ContractPublisher.java b/data-plane/core/src/main/java/dev/knative/eventing/kafka/broker/core/eventbus/ContractPublisher.java index 0c857fc68f..f54325b60f 100644 --- a/data-plane/core/src/main/java/dev/knative/eventing/kafka/broker/core/eventbus/ContractPublisher.java +++ b/data-plane/core/src/main/java/dev/knative/eventing/kafka/broker/core/eventbus/ContractPublisher.java @@ -98,7 +98,7 @@ public DataPlaneContract.Contract parseFromJson(final Reader content) throws IOE this.parser.merge(content, contract); return contract.build(); } catch (final InvalidProtocolBufferException ex) { - logger.debug("failed to parse from JSON", ex); + logger.error("failed to parse from JSON", ex); } return null; }