[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pki-devel] [PATCH] 0142 LDAPProfileSubsystem: log exception if profile creation fails



Attached patch logs exception if profile creation fails.

Pushed under one-liner/trivial rule.

Thanks,
Fraser
From 9b13a4d0a3750c01b025f3eeebd438cb2e6ea07b Mon Sep 17 00:00:00 2001
From: Fraser Tweedale <ftweedal redhat com>
Date: Tue, 6 Dec 2016 19:48:40 +1000
Subject: [PATCH 142/143] LDAPProfileSubsystem: log exception if profile
 creation fails

Part of: https://fedorahosted.org/pki/ticket/1359
---
 .../cmscore/src/com/netscape/cmscore/profile/LDAPProfileSubsystem.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/base/server/cmscore/src/com/netscape/cmscore/profile/LDAPProfileSubsystem.java b/base/server/cmscore/src/com/netscape/cmscore/profile/LDAPProfileSubsystem.java
index fd5aa64eed8385ad18a307b6addaee6222d9f9cf..213c7a9f19f93ded4c42b6c06768a893a1257f71 100644
--- a/base/server/cmscore/src/com/netscape/cmscore/profile/LDAPProfileSubsystem.java
+++ b/base/server/cmscore/src/com/netscape/cmscore/profile/LDAPProfileSubsystem.java
@@ -199,6 +199,7 @@ public class LDAPProfileSubsystem
                 CMS.debug("Done Profile Creation - " + profileId);
             } catch (EProfileException e) {
                 CMS.debug("Error creating profile '" + profileId + "'; skipping.");
+                CMS.debug(e);
             }
         }
     }
-- 
2.7.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]