summaryrefslogtreecommitdiffstats
path: root/common/src/main/java/org
diff options
context:
space:
mode:
authorLukasz Muszkieta <lukasz.muszkieta@nokia.com>2019-10-14 16:00:07 +0000
committerGerrit Code Review <gerrit@onap.org>2019-10-14 16:00:07 +0000
commit5f898d39ba86fe34f01cfb0342ab68c967ad77e4 (patch)
tree6dbd2827b2262e44e5f37701779fa1c456aa7958 /common/src/main/java/org
parentac035d57c099f12aed66b9baeab7035934fc1f47 (diff)
parent30363728f6bf12fb0601db061952dccf8f41a751 (diff)
Merge "General sonar fixes"
Diffstat (limited to 'common/src/main/java/org')
-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);
}