Sonar clean code
[externalapi/nbi.git] / src / main / java / org / onap / nbi / apis / serviceinventory / BaseClient.java
index 33baa5b..c973f32 100644 (file)
@@ -39,7 +39,7 @@ public abstract class BaseClient {
         LOGGER.debug("response body : " + response.getBody().toString());
         LOGGER.info("response status : " + response.getStatusCodeValue());
         if (!response.getStatusCode().equals(HttpStatus.OK)) {
-            LOGGER.error("HTTP call on " + callURL + " returns " + response.getStatusCodeValue() + ", "
+            LOGGER.warn("HTTP call on " + callURL + " returns " + response.getStatusCodeValue() + ", "
                     + response.getBody().toString());
         }
         return response;