From ddce39d452ef88851c314c1651b732acafc40471 Mon Sep 17 00:00:00 2001 From: Gerd Aschemann Date: Thu, 19 Sep 2024 09:35:23 +0200 Subject: [PATCH] #343 Parameterize logger call --- .../java/org/aim42/htmlsanitycheck/check/CheckerCreator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htmlSanityCheck-core/src/main/java/org/aim42/htmlsanitycheck/check/CheckerCreator.java b/htmlSanityCheck-core/src/main/java/org/aim42/htmlsanitycheck/check/CheckerCreator.java index 9f9b3297..e5853e50 100644 --- a/htmlSanityCheck-core/src/main/java/org/aim42/htmlsanitycheck/check/CheckerCreator.java +++ b/htmlSanityCheck-core/src/main/java/org/aim42/htmlsanitycheck/check/CheckerCreator.java @@ -51,7 +51,7 @@ public static Checker createSingleChecker(final Class checker } else if (isCase(MissingLocalResourcesChecker.class, checkerClass)) { checker = new MissingLocalResourcesChecker(pConfig); } else { - logger.warn("unknown Checker " + checkerClass.toString()); + logger.error("unknown Checker {}", checkerClass); throw new UnknownCheckerException(checkerClass.toString()); }