Policy TestSuite Enabled
[policy/engine.git] / ECOMP-PAP-REST / src / main / java / org / openecomp / policy / pap / xacml / rest / controller / SafePolicyController.java
index 1f84ae0..6f8f3db 100644 (file)
@@ -78,7 +78,7 @@ public class SafePolicyController {
                        JSONObject j = new JSONObject(msg);
                        response.getWriter().write(j.toString());
                } catch (Exception e) {
-                       e.printStackTrace();
+                       LOGGER.error("Exception Occured"+e);
                }
        }
 
@@ -237,7 +237,7 @@ public class SafePolicyController {
                        JSONObject j = new JSONObject(msg);
                        response.getWriter().write(j.toString());
                } catch (Exception e) {
-                       e.printStackTrace();
+                       LOGGER.error("Exception Occured"+e);
                }
        }