From 5ea8014a5ed779540253dce917da603b20d29e3b Mon Sep 17 00:00:00 2001 From: Antony Denyer Date: Wed, 29 Jun 2022 10:15:36 +0100 Subject: [PATCH] Print full exception when NatService fails to configure automaticially (#4023) https://github.com/hyperledger/besu/issues/3787 Signed-off-by: Antony Denyer --- nat/src/main/java/org/hyperledger/besu/nat/NatService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nat/src/main/java/org/hyperledger/besu/nat/NatService.java b/nat/src/main/java/org/hyperledger/besu/nat/NatService.java index 19ad7d2237..f1e986fff9 100644 --- a/nat/src/main/java/org/hyperledger/besu/nat/NatService.java +++ b/nat/src/main/java/org/hyperledger/besu/nat/NatService.java @@ -97,7 +97,7 @@ public class NatService { } catch (Exception e) { LOG.warn( "Nat manager failed to configure itself automatically due to the following reason : {}. {}", - e.getMessage(), + e, (fallbackEnabled) ? "NONE mode will be used as a fallback (set --Xnat-method-fallback-enabled=false to disable)" : "");