summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-04-20 06:39:10 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-20 06:39:10 +0000
commit1e024d2f6980ac66aceec37fdd88268fda563b34 (patch)
treee71fdccbe7f7c65a71bf24a18f934a2f07f0da34
parent3feb30245e169761a66598e84807e172b0cea31f (diff)
parentdbbdce0960fcd1de0e096f26170ffede385ba489 (diff)
Merge "Fix sonar issue SslSupportLevel"
-rw-r--r--pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevel.java b/pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevel.java
index ff13ce4..c05f4c6 100644
--- a/pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevel.java
+++ b/pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevel.java
@@ -68,7 +68,7 @@ public enum SslSupportLevel {
.build();
} catch (GeneralSecurityException e) {
- LOGGER.error("Could not initialize client due to SSL exception: {}. Default client without SSL support will be used instead.\nCause: {}", e.getMessage(), e.getCause());
+ LOGGER.error("Could not initialize client due to SSL exception: {}. Default client without SSL support will be used instead.\nCause: {}", e.getMessage(), e.getCause().toString());
client = NONE.getClient(requestConfig, sslAuthenticationHelper);
}
return client;