1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-09-04 13:35:21 +02:00

Bangle.js:actTrk: don't throw RuntimeException

This commit is contained in:
Ganblejs 2024-03-12 18:36:55 +01:00 committed by José Rebelo
parent f3f9a75633
commit 571410ff4b

View File

@ -626,9 +626,9 @@ class BangleJSActivityTrack {
LOG.debug("Activity track:\n" + track.getSegments());
} catch (IOException e) {
throw new RuntimeException(e);
LOG.error("IOException when parsing fetched CSV: " + e);
} catch (JSONException e) {
throw new RuntimeException(e);
LOG.error("JSONException when parsing fetched CSV: " + e);
}
stopAndRestartTimeout(device,context);