commit | 5a7cd9628eadbc0f035de7c327e66640088b8876 | [log] [tgz] |
---|---|---|
author | sanchitap <sanchita@techmahindra.com> | Thu Apr 19 14:29:39 2018 +0530 |
committer | sanchitap <sanchita@techmahindra.com> | Thu Apr 19 14:29:39 2018 +0530 |
tree | 0901291e3ab50574b638402642cc71c8a1d87c42 | |
parent | 21005fb11f754fd25d5a2c2872c0834950295ccf [diff] |
Exception in AAIRestClientImpl.java AAIRestClientImpl.java Sonar link: https://sonar.onap.org/code?id=org.onap.so%3Aso&selected=org.onap.so%3Acommon%3Asrc%2Fmain%2Fjava%2Forg%2Fopenecomp%2Fmso%2Fclient%2Faai%2FAAIRestClientImpl.java Change-Id: I9bdcd2e389cad15119f322a3ac7f7bcc1bd2cc67 Issue-ID: SO-575 Signed-off-by: sanchitap <sanchita@techmahindra.com>
diff --git a/common/src/main/java/org/openecomp/mso/client/aai/AAIRestClientImpl.java b/common/src/main/java/org/openecomp/mso/client/aai/AAIRestClientImpl.java index 54aab5c..a84aeaa 100644 --- a/common/src/main/java/org/openecomp/mso/client/aai/AAIRestClientImpl.java +++ b/common/src/main/java/org/openecomp/mso/client/aai/AAIRestClientImpl.java
@@ -168,7 +168,7 @@ try { requestId = UUID.fromString(transactionLoggingUuid); } catch (IllegalArgumentException e) { - logger.warn("could not parse uuid: " + transactionLoggingUuid + " creating valid uuid automatically"); + logger.warn("could not parse uuid: " + transactionLoggingUuid + " creating valid uuid automatically", e); requestId = UUID.randomUUID(); } Response response = new AAIResourcesClient(ENDPOINT_VERSION, requestId) @@ -186,7 +186,7 @@ try { requestId = UUID.fromString(transactionLoggingUuid); } catch (IllegalArgumentException e) { - logger.warn("could not parse uuid: " + transactionLoggingUuid + " creating valid uuid automatically"); + logger.warn("could not parse uuid: " + transactionLoggingUuid + " creating valid uuid automatically", e); requestId = UUID.randomUUID(); } new AAIResourcesClient(ENDPOINT_VERSION, requestId)