mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-22 23:57:33 +01:00
Bangle.js:actTrk:replace RuntimeException with LOG
This commit is contained in:
parent
ac4273fc1b
commit
de1faf6f00
@ -610,7 +610,7 @@ class BangleJSActivityTrack {
|
||||
summary.setGpxTrack(targetFile.getAbsolutePath());
|
||||
//dbHandler.getDaoSession().getBaseActivitySummaryDao().update(summary);
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
LOG.error("Could not add gpx track to summary:" + e);
|
||||
}
|
||||
} catch (ActivityTrackExporter.GPXTrackEmptyException ex) {
|
||||
GB.toast(context, "This activity does not contain GPX tracks.", Toast.LENGTH_LONG, GB.ERROR, ex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user