diff --git a/OsmAnd-java/src/net/osmand/binary/BinaryMapRouteReaderAdapter.java b/OsmAnd-java/src/net/osmand/binary/BinaryMapRouteReaderAdapter.java index 943000fb81..29f336cdfe 100644 --- a/OsmAnd-java/src/net/osmand/binary/BinaryMapRouteReaderAdapter.java +++ b/OsmAnd-java/src/net/osmand/binary/BinaryMapRouteReaderAdapter.java @@ -67,7 +67,12 @@ public class BinaryMapRouteReaderAdapter { v = "no"; } this.v = v == null? null : v.intern(); - analyze(); + try { + analyze(); + } catch(RuntimeException e) { + System.err.println("Error analyzing tag/value = " + t + "/" +v); + throw e; + } } public String getTag() {