No need to log twice in case of an exception (#402)
This commit is contained in:
@@ -181,6 +181,7 @@ public class DefaultDirContextValidator implements DirContextValidator {
|
||||
if(this.logger.isDebugEnabled()) {
|
||||
this.logger.debug("DirContext '" + dirContext + "' failed validation with an exception.", e);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.logger.isDebugEnabled()) {
|
||||
|
||||
@@ -181,6 +181,7 @@ public class DefaultDirContextValidator implements DirContextValidator {
|
||||
if(this.logger.isDebugEnabled()) {
|
||||
this.logger.debug("DirContext '" + dirContext + "' failed validation with an exception.", e);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.logger.isDebugEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user