Update RouteProvider.java

This commit is contained in:
vshcherb 2020-05-26 11:25:08 +02:00 committed by GitHub
parent 26805c4ae8
commit d1e479e9be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,9 +177,9 @@ public class RouteProvider {
GPXRouteParams res = new GPXRouteParams();
try {
res.prepareGPXFile(this);
} catch (Exception e) {
log.error(e);
app.showShortToastMessage(app.getString(R.string.gpx_parse_error));
} catch (RuntimeException e) {
log.error(e.getMessage(), e);
app.showShortToastMessage(app.getString(R.string.gpx_parse_error) + " " + e.getMessage());
}
return res;
}