From 06c54d51670655162465259854750d116faf9e7a Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Mon, 16 Apr 2018 15:28:27 +0200 Subject: WriteTransaction: log exception with error level when submit fails Change-Id: Ibc269946c08702805531a62c40be295fecc6b4ce Signed-off-by: Marek Gradzki --- .../src/main/java/io/fd/honeycomb/data/impl/WriteTransaction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/WriteTransaction.java b/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/WriteTransaction.java index ce0e3c6fb..648d4359e 100644 --- a/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/WriteTransaction.java +++ b/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/WriteTransaction.java @@ -145,7 +145,7 @@ final class WriteTransaction implements DOMDataWriteTransaction { status = COMMITED; } catch (DataValidationFailedException | TranslationException e) { status = FAILED; - LOG.debug("Submit failed", e); + LOG.error("Submit failed", e); return Futures.immediateFailedCheckedFuture( new TransactionCommitFailedException("Failed to validate DataTreeModification", e)); } -- cgit 1.2.3-korg