aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/java
diff options
context:
space:
mode:
authorAdam Wudzinski <adam.wudzinski@nokia.com>2018-06-27 13:20:43 +0200
committerawudzins <adam.wudzinski@nokia.com>2018-06-27 13:20:43 +0200
commit0a55ff2648abf5a781945ff2ed395510c7683428 (patch)
tree1e284ae6436d6aeaec01bba231b4e9736ac88ee1 /aai-resources/src/main/java
parent00dac779f4b129af3395a6430eb2cf879b25d4d8 (diff)
Sonar fix in ModelVersionTransformer
Added logging Change-Id: Ib74f0429deaab8608f88341ed709ca6bd6490003 Issue-ID: AAI-1244 Signed-off-by: awudzins <adam.wudzinski@nokia.com>
Diffstat (limited to 'aai-resources/src/main/java')
-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 f889591..15596d0 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
@@ -219,7 +219,7 @@ public class ModelVersionTransformer extends RESTAPI {
.status(Status.INTERNAL_SERVER_ERROR)
.entity(ErrorLogHelper.getRESTAPIErrorResponse(headers.getAcceptableMediaTypes(), ex, templateVars))
.build();
- e.printStackTrace();
+ LOGGER.error("Internal server error", e);
success = false;
} finally {
if (dbEngine != null) {