diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2018-07-25 12:53:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-07-25 12:53:36 +0000 |
commit | fc02356e16ab2483334bb5ee29018c4bffa23564 (patch) | |
tree | 66106afa8c1f9a7b95457368ed52e7f8be7f3f46 /adapters/mso-catalog-db-adapter/src | |
parent | 37c292773bd1906cf9e59e62a0c7e8027ed1e4bf (diff) | |
parent | 7fcc895e05176b786cd6dcfaf8aba8190c53e1e7 (diff) |
Merge "Replace printStackTrace with usage of logger"
Diffstat (limited to 'adapters/mso-catalog-db-adapter/src')
-rw-r--r-- | adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/QueryResourceRecipe.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/QueryResourceRecipe.java b/adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/QueryResourceRecipe.java index 7d6aed4785..4d8b65a0c8 100644 --- a/adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/QueryResourceRecipe.java +++ b/adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/QueryResourceRecipe.java @@ -67,8 +67,7 @@ public class QueryResourceRecipe extends CatalogQuery{ try {
jsonStr = mapper.writeValueAsString(valueMap);
} catch(JsonProcessingException e) {
-
- e.printStackTrace();
+ LOGGER.error("JsonProcessingException", e);
}
return jsonStr;
}
|