aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/feature-controlloop-management/src/main
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2020-03-13 21:37:47 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-13 21:37:47 +0000
commitc38ecec3e51ef7a5cbb820875a441f8551cd133b (patch)
tree7986f3e680d00f7a9cc0a1da33be2d3d3f4382b4 /controlloop/common/feature-controlloop-management/src/main
parent50c693bd21e104bea8d2e53f7130f31ae5869f75 (diff)
parent7f6929e5ea6da4015090b3adac73b35f9b3afb18 (diff)
Merge "Fix sonar issues in drools-applications"
Diffstat (limited to 'controlloop/common/feature-controlloop-management/src/main')
-rw-r--r--controlloop/common/feature-controlloop-management/src/main/java/org/onap/policy/drools/server/restful/RestControlLoopManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/controlloop/common/feature-controlloop-management/src/main/java/org/onap/policy/drools/server/restful/RestControlLoopManager.java b/controlloop/common/feature-controlloop-management/src/main/java/org/onap/policy/drools/server/restful/RestControlLoopManager.java
index 35aabe424..0f35b733b 100644
--- a/controlloop/common/feature-controlloop-management/src/main/java/org/onap/policy/drools/server/restful/RestControlLoopManager.java
+++ b/controlloop/common/feature-controlloop-management/src/main/java/org/onap/policy/drools/server/restful/RestControlLoopManager.java
@@ -79,7 +79,7 @@ public class RestControlLoopManager {
return Response.status(Response.Status.OK).entity(controlLoopNames).build();
} catch (IllegalArgumentException e) {
- logger.error("{}", e);
+ logger.error("'GET' controlloops threw an exception", e);
return Response.status(Response.Status.NOT_FOUND).entity(e.getMessage()).build();
}
}
@@ -109,7 +109,7 @@ public class RestControlLoopManager {
return Response.status(Response.Status.OK).entity(controlLoopParams).build();
} catch (IllegalArgumentException e) {
- logger.error("{}", e);
+ logger.error("'GET' controlloop threw an exception", e);
return Response.status(Response.Status.NOT_FOUND).entity(e.getMessage()).build();
}
}