From 57b86af8124937b0e28d9d1d1bbbf0cde92627df Mon Sep 17 00:00:00 2001 From: vshcherb Date: Thu, 6 Mar 2014 10:13:57 +0100 Subject: [PATCH] Add info to trace --- .../src/net/osmand/binary/BinaryMapRouteReaderAdapter.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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() {