Skip to content

Commit f477dc2

Browse files
committed
Fix compilation error
1 parent 6093f77 commit f477dc2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/org/seedstack/validation/internal/ValidationModule.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import com.google.inject.matcher.AbstractMatcher;
1414
import com.google.inject.matcher.Matcher;
1515
import com.google.inject.matcher.Matchers;
16-
import org.seedstack.seed.core.internal.CorePlugin;
16+
import org.seedstack.seed.core.utils.SeedLoggingUtils;
1717
import org.slf4j.Logger;
1818
import org.slf4j.LoggerFactory;
1919

@@ -58,8 +58,7 @@ private boolean isDynamicValidationSupported() {
5858
try {
5959
executableValidator = validatorFactory.getValidator().forExecutables();
6060
} catch (Throwable t) {
61-
LOGGER.info("Unable to create the dynamic validator, support for dynamic validation disabled");
62-
LOGGER.debug(CorePlugin.DETAILS_MESSAGE, t);
61+
SeedLoggingUtils.logWarningWithDebugDetails(LOGGER, t, "Unable to create the dynamic validator, support for dynamic validation disabled");
6362
}
6463
return executableValidator != null;
6564
}

0 commit comments

Comments
 (0)