Print full exception when NatService fails to configure automaticially (#4023)

https://github.com/hyperledger/besu/issues/3787

Signed-off-by: Antony Denyer <git@antonydenyer.co.uk>
This commit is contained in:
Antony Denyer
2022-06-29 10:15:36 +01:00
committed by GitHub
parent a8cf2d926a
commit 5ea8014a5e

View File

@@ -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)"
: "");