diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2020-03-11 10:35:04 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2020-03-11 10:39:11 -0400 |
commit | 802e19fffd6b66d85130dec4669cb93613e62dc7 (patch) | |
tree | 27cd496b49e94cc04d62cbd894f193199bf28d00 /applications/guard/src | |
parent | c48d65afeecfe1fd5cd735708107aa7c3bc87d17 (diff) |
Fix sonar logging bugs
These did not show up locally - sonarqube must have a new
version or rules to pick these up.
Issue-ID: POLICY-2242
Change-Id: I3df5aee84f696cde6b07c68913bbd55e95c8ba3b
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'applications/guard/src')
-rw-r--r-- | applications/guard/src/main/java/org/onap/policy/xacml/pdp/application/guard/GuardTranslator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/guard/src/main/java/org/onap/policy/xacml/pdp/application/guard/GuardTranslator.java b/applications/guard/src/main/java/org/onap/policy/xacml/pdp/application/guard/GuardTranslator.java index ebcae8dd..4365cad6 100644 --- a/applications/guard/src/main/java/org/onap/policy/xacml/pdp/application/guard/GuardTranslator.java +++ b/applications/guard/src/main/java/org/onap/policy/xacml/pdp/application/guard/GuardTranslator.java @@ -145,7 +145,7 @@ public class GuardTranslator implements ToscaPolicyTranslator { try { return RequestParser.parseRequest(GuardPolicyRequest.createInstance(request)); } catch (IllegalArgumentException | IllegalAccessException | DataTypeException e) { - LOGGER.error("Failed to convert DecisionRequest: {}", e); + LOGGER.error("Failed to convert DecisionRequest", e); } // // TODO throw exception |