Update RouteProvider.java
This commit is contained in:
parent
26805c4ae8
commit
d1e479e9be
1 changed files with 3 additions and 3 deletions
|
@ -177,9 +177,9 @@ public class RouteProvider {
|
||||||
GPXRouteParams res = new GPXRouteParams();
|
GPXRouteParams res = new GPXRouteParams();
|
||||||
try {
|
try {
|
||||||
res.prepareGPXFile(this);
|
res.prepareGPXFile(this);
|
||||||
} catch (Exception e) {
|
} catch (RuntimeException e) {
|
||||||
log.error(e);
|
log.error(e.getMessage(), e);
|
||||||
app.showShortToastMessage(app.getString(R.string.gpx_parse_error));
|
app.showShortToastMessage(app.getString(R.string.gpx_parse_error) + " " + e.getMessage());
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue