Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Commit e94ff5e

Browse files
lesleyannjordanandrew-coleman
authored andcommitted
Add exception log [FABJ-502] (#32)
Signed-off-by: lesleyannj <lesleyannj@hotmail.com>
1 parent 199a600 commit e94ff5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/hyperledger/fabric/sdk/Channel.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5712,11 +5712,13 @@ public CompletableFuture<TransactionEvent> sendTransaction(Collection<? extends
57125712

57135713
CompletableFuture<TransactionEvent> ret = new CompletableFuture<>();
57145714
ret.completeExceptionally(lException != null ? new Exception(emsg, lException) : new Exception(emsg));
5715+
logger.error(emsg);
57155716
return ret;
57165717
}
57175718
} catch (Exception e) {
57185719
CompletableFuture<TransactionEvent> future = new CompletableFuture<>();
57195720
future.completeExceptionally(e);
5721+
logger.error(e);
57205722
return future;
57215723
}
57225724
}

0 commit comments

Comments
 (0)