From 16fb1a584d204d0ac471b0d2ed4c72f0d3141f5b Mon Sep 17 00:00:00 2001 From: cpfeiffer Date: Wed, 1 Aug 2018 19:48:05 +0200 Subject: [PATCH] Errors during activity track timestamp fixup should be non-fatal So just log them. #1134 --- .../devices/huami/amazfitbip/ActivityDetailsParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitbip/ActivityDetailsParser.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitbip/ActivityDetailsParser.java index 3ddb2f9e5..1b11daab5 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitbip/ActivityDetailsParser.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitbip/ActivityDetailsParser.java @@ -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 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); } }