mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Bangle.js:actTrk: don't throw RuntimeException
This commit is contained in:
parent
f3f9a75633
commit
571410ff4b
@ -626,9 +626,9 @@ class BangleJSActivityTrack {
|
|||||||
LOG.debug("Activity track:\n" + track.getSegments());
|
LOG.debug("Activity track:\n" + track.getSegments());
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new RuntimeException(e);
|
LOG.error("IOException when parsing fetched CSV: " + e);
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
throw new RuntimeException(e);
|
LOG.error("JSONException when parsing fetched CSV: " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
stopAndRestartTimeout(device,context);
|
stopAndRestartTimeout(device,context);
|
||||||
|
Loading…
Reference in New Issue
Block a user