From ca9c3d5676fa3d62e4c6a02318c253c55b39adce Mon Sep 17 00:00:00 2001 From: liamfallon Date: Wed, 7 Feb 2018 14:14:46 +0000 Subject: 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 --- .../guard/src/main/java/org/onap/policy/guard/PIPEngineGetHistory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controlloop/common') 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; } -- cgit 1.2.3-korg