summaryrefslogtreecommitdiffstats
path: root/common/src/main/java/org/onap
diff options
context:
space:
mode:
authorArindam Mondal <arind.mondal@samsung.com>2019-10-03 14:47:51 +0900
committerarindamm <arind.mondal@samsung.com>2019-10-03 21:54:10 +0900
commit30363728f6bf12fb0601db061952dccf8f41a751 (patch)
treedb98fb96a7fef461c31c0d9dbf65fa04579b33ae /common/src/main/java/org/onap
parent443198c419c827cd5a94c430f62c048da9793ed1 (diff)
General sonar fixes
Issue-ID: SO-2381 Change-Id: I58c41ec7295838465a8af28721842625ee828a17 Signed-off-by: arindamm <arind.mondal@samsung.com>
Diffstat (limited to 'common/src/main/java/org/onap')
-rw-r--r--common/src/main/java/org/onap/so/logging/jaxrs/filter/SOSpringClientFilter.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/src/main/java/org/onap/so/logging/jaxrs/filter/SOSpringClientFilter.java b/common/src/main/java/org/onap/so/logging/jaxrs/filter/SOSpringClientFilter.java
index d8ce17a277..cf826d6350 100644
--- a/common/src/main/java/org/onap/so/logging/jaxrs/filter/SOSpringClientFilter.java
+++ b/common/src/main/java/org/onap/so/logging/jaxrs/filter/SOSpringClientFilter.java
@@ -21,7 +21,6 @@
package org.onap.so.logging.jaxrs.filter;
import java.io.IOException;
-import java.util.UUID;
import org.onap.logging.filter.spring.SpringClientFilter;
import org.onap.logging.ref.slf4j.ONAPLogConstants;
import org.onap.so.logger.MdcConstants;
@@ -51,7 +50,7 @@ public class SOSpringClientFilter extends SpringClientFilter implements ClientHt
MDC.put(ONAPLogConstants.MDCs.RESPONSE_CODE, String.valueOf(statusCode));
setResponseDescription(statusCode);
} catch (IOException e) {
- logger.error("Unable to get statusCode from response");
+ logger.error("Unable to get statusCode from response", e);
}