Reduce loglevel in UnitUtils (#3609)

The log level was increased during the UoM refactoring but it turns out that a lot of code depends on failing silently. Therefore the log level is again reduced to DEBUG.

Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
J-N-K
2023-05-13 20:50:53 +02:00
committed by GitHub
parent 08924232fc
commit 0f1f1729b7
@@ -173,7 +173,7 @@ public class UnitUtils {
return quantity.getUnit();
} catch (IllegalArgumentException | MeasurementParseException e) {
// we expect this exception in case the extracted string does not match any known unit
LOGGER.error("Unknown unit from pattern: {}", unitSymbol);
LOGGER.debug("Unknown unit from pattern: {}", unitSymbol);
}
}