Remove Sonar issue 19/4019/1
authorRehanRaza <muhammad.rehan.raza@est.tech>
Mon, 8 Jun 2020 10:15:44 +0000 (12:15 +0200)
committerRehanRaza <muhammad.rehan.raza@est.tech>
Mon, 8 Jun 2020 10:19:08 +0000 (12:19 +0200)
Change-Id: Ic2510ae51f1e6b22332d84544b06ca6d24f3daca
Issue-ID: NONRTRIC-142
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
policy-agent/src/main/java/org/oransc/policyagent/controllers/PolicyController.java

index 832bbe9..b538861 100644 (file)
@@ -269,7 +269,7 @@ public class PolicyController {
             RejectionException e = new RejectionException("Policy cannot change RIC, policyId: " + current.id() + //
                 ", RIC name: " + current.ric().name() + //
                 ", new name: " + policy.ric().name(), HttpStatus.CONFLICT);
-            logger.debug("Request rejected, {}", e);
+            logger.debug("Request rejected, {}", e.getMessage());
             return Mono.error(e);
         }
         return Mono.just("OK");