1
0
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:
cpfeiffer 2018-08-01 19:48:05 +02:00
parent df84927954
commit 16fb1a584d

View File

@ -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);
}
}