diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-04-16 15:28:27 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-04-16 15:28:30 +0200 |
commit | bc0c338f8c3ad44f38b31e64076b97c5956dee2a (patch) | |
tree | 11cb17a59d8fe1c836984e5b819b527a1ebb1db1 | |
parent | ee993d85323419fb779a8edbef4350947c4d076a (diff) |
WriteTransaction: log exception with error level when submit fails
Change-Id: Ibc269946c08702805531a62c40be295fecc6b4ce
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
-rw-r--r-- | infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/WriteTransaction.java | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |