diff --git a/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java b/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java index 34fd072c85..febfa7aa0b 100644 --- a/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java +++ b/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java @@ -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; }