mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-25 03:16:51 +01:00
Errors during activity track timestamp fixup should be non-fatal
So just log them. #1134
This commit is contained in:
parent
df84927954
commit
16fb1a584d
@ -134,7 +134,7 @@ public class ActivityDetailsParser {
|
||||
return activityTrack;
|
||||
}
|
||||
|
||||
private void fixupMissingTimestamps(ActivityTrack activityTrack) throws GBException {
|
||||
private void fixupMissingTimestamps(ActivityTrack activityTrack) {
|
||||
try {
|
||||
int pointer = 0;
|
||||
List<ActivityPoint> activityPointList = activityTrack.getTrackPoints();
|
||||
@ -168,7 +168,7 @@ public class ActivityDetailsParser {
|
||||
}
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
throw new GBException("Error cleaning activity details: " + ex.getMessage(), ex);
|
||||
LOG.warn("Error cleaning activity details", ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user