diff options
author | liamfallon <liam.fallon@ericsson.com> | 2018-02-07 14:14:46 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@ericsson.com> | 2018-02-07 14:15:09 +0000 |
commit | ca9c3d5676fa3d62e4c6a02318c253c55b39adce (patch) | |
tree | bab2e1762c93cf2a7d7c24b0e25c8401024ebb39 /controlloop/common/guard/src/main | |
parent | 8a1bd0d8ee600ffe06b9a832a876d8a9f58f2f8c (diff) |
Log thrown exception in PIPEngineGetHistory
Sonar Critical error highlighted, with thrown execption not logged. The
exception is now logged.
Issue-ID: POLICY-455
Change-Id: If2969a4fe118d22dbd1fb11879ba028487848eb8
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'controlloop/common/guard/src/main')
-rw-r--r-- | controlloop/common/guard/src/main/java/org/onap/policy/guard/PIPEngineGetHistory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controlloop/common/guard/src/main/java/org/onap/policy/guard/PIPEngineGetHistory.java b/controlloop/common/guard/src/main/java/org/onap/policy/guard/PIPEngineGetHistory.java index bfdff4d7f..21bdcd853 100644 --- a/controlloop/common/guard/src/main/java/org/onap/policy/guard/PIPEngineGetHistory.java +++ b/controlloop/common/guard/src/main/java/org/onap/policy/guard/PIPEngineGetHistory.java @@ -140,7 +140,7 @@ public class PIPEngineGetHistory extends StdConfigurableEngine{ operation = getRecipe(pipFinder).iterator().next(); target = getTarget(pipFinder).iterator().next(); } catch (Exception e) { - logger.debug("could not retrieve actor, operation, or target from PIP finder"); + logger.debug("could not retrieve actor, operation, or target from PIP finder", e); return StdPIPResponse.PIP_RESPONSE_EMPTY; } |