1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +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; return activityTrack;
} }
private void fixupMissingTimestamps(ActivityTrack activityTrack) throws GBException { private void fixupMissingTimestamps(ActivityTrack activityTrack) {
try { try {
int pointer = 0; int pointer = 0;
List<ActivityPoint> activityPointList = activityTrack.getTrackPoints(); List<ActivityPoint> activityPointList = activityTrack.getTrackPoints();
@ -168,7 +168,7 @@ public class ActivityDetailsParser {
} }
} }
} catch (Exception ex) { } catch (Exception ex) {
throw new GBException("Error cleaning activity details: " + ex.getMessage(), ex); LOG.warn("Error cleaning activity details", ex);
} }
} }