summaryrefslogtreecommitdiffstats
path: root/aai-resources
diff options
context:
space:
mode:
authoraishkashyap <as00476394@techmahindra.com>2017-12-21 10:33:18 +0530
committeraishkashyap <as00476394@techmahindra.com>2017-12-21 10:33:56 +0530
commitb5ab5edebc0ddfb7bc32c016ffda7c9fddbade20 (patch)
tree28327680c62b1b192a31d62f4b8253d382afea4f /aai-resources
parent3c7c42eced8d5d15c026a1fa7264683fb4b3a562 (diff)
Sonar Critical :To either Log or rethrow exception
To either Log or rethrow exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#severities=MINOR%2CCRITICAL|assignees=aishkashyap Location: src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java Line No:355 Change-Id: Id2e9f0de6acb9844887e740902425be075209d6c Issue-ID: AAI-573 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
Diffstat (limited to 'aai-resources')
-rw-r--r--aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java b/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java
index 52fe859..8572369 100644
--- a/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java
+++ b/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java
@@ -352,7 +352,7 @@ public class ModelVersionTransformer extends RESTAPI {
} catch (NoSuchElementException e) {
throw new NoSuchElementException();
} catch (Exception e1) {
- e1.printStackTrace();
+ LOGGER.error("Exception while getting current models from graph"+e1);
}
return modelVerModelMap;