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>
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;
}