mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Garmin: fix null timestamp for FitEvent
This commit is contained in:
+3
@@ -309,6 +309,9 @@ public class FitImporter {
|
|||||||
if (event.getEvent() == null) {
|
if (event.getEvent() == null) {
|
||||||
LOG.warn("Event in {} is null", event);
|
LOG.warn("Event in {} is null", event);
|
||||||
continue;
|
continue;
|
||||||
|
} else if (ts == null) {
|
||||||
|
LOG.warn("Timestamp for {} is null", event);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG.trace("Event at {}: {}", ts, event);
|
LOG.trace("Event at {}: {}", ts, event);
|
||||||
|
|||||||
Reference in New Issue
Block a user