Log problems with closing JNDI connections.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 18 Aug 2003 22:04:12 +0000 (22:04 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 18 Aug 2003 22:04:12 +0000 (22:04 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@728 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/attrresolv/provider/JNDIDirectoryDataConnector.java

index 8da9c84..9f4b66a 100644 (file)
@@ -133,7 +133,7 @@ public class JNDIDirectoryDataConnector extends BaseResolutionPlugIn implements
                                        context.close();
                                }
                        } catch (NamingException ne) {
-                               //Squelch
+                               log.error("An error occured while closing the JNDI context: " + e);
                        }
 
                }
@@ -258,7 +258,7 @@ public class JNDIDirectoryDataConnector extends BaseResolutionPlugIn implements
                                        context.close();
                                }
                        } catch (NamingException e) {
-                               //Squelch
+                               log.error("An error occured while closing the JNDI context: " + e);
                        }
                }
        }