Garmin: Improve global type mismatch logging

This commit is contained in:
José Rebelo
2025-09-20 09:37:51 +01:00
parent 69aa2a3b10
commit bd1037242e
@@ -43,7 +43,13 @@ public class FieldDefinition implements FieldInterface {
if (global.getBaseType().equals(baseType)) {
return global;
} else {
LOG.warn("Global is of type {}, but message declares {}", global.getBaseType(), baseType);
LOG.warn(
"Global for {}[{}] is of type {}, but message declares {}",
globalFITMessage.name(),
global.name,
global.getBaseType(),
baseType
);
}
}