X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ONAP-PDP-REST%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Fpdp%2Frest%2FXACMLPdpRegisterThread.java;h=49400d615353fb3fc66a72e3e669a2aef9f895f5;hb=f799af84c1777d1b56641c758bdf6064b494d71d;hp=14b312f6d68c8afa89d48def4e750eac39490d39;hpb=775f45908025e46a40c9c147fca2066af5c8c5b8;p=policy%2Fengine.git diff --git a/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/XACMLPdpRegisterThread.java b/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/XACMLPdpRegisterThread.java index 14b312f6d..49400d615 100644 --- a/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/XACMLPdpRegisterThread.java +++ b/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/XACMLPdpRegisterThread.java @@ -248,8 +248,8 @@ public class XACMLPdpRegisterThread implements Runnable { } } catch (Exception e) { LOGGER.error(XACMLErrorConstants.ERROR_SYSTEM_ERROR + e); + loggingContext.transactionEnded(); PolicyLogger.audit("Transaction Failed - See Error.log"); - loggingContext.transactionEnded(); papUrls.failed(); } finally { // cleanup the connection