mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Garmin: Improve global type mismatch logging
This commit is contained in:
+7
-1
@@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user