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>
pull/4031/head
Antony Denyer 2 years ago committed by GitHub
parent a8cf2d926a
commit 5ea8014a5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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)"
: "");

Loading…
Cancel
Save