Bangle.js:actTrk:replace RuntimeException with LOG

This commit is contained in:
Ganblejs 2024-03-20 22:50:13 +01:00 committed by José Rebelo
parent ac4273fc1b
commit de1faf6f00
1 changed files with 1 additions and 1 deletions

View File

@ -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);