diff --git a/brouter-core/src/main/java/btools/router/OsmTrack.java b/brouter-core/src/main/java/btools/router/OsmTrack.java index 9ccff98e9..a6c981723 100644 --- a/brouter-core/src/main/java/btools/router/OsmTrack.java +++ b/brouter-core/src/main/java/btools/router/OsmTrack.java @@ -285,7 +285,9 @@ public static OsmTrack readBinary(String filename, OsmNodeNamed newEp, long[] no } dis.close(); } catch (Exception e) { - throw new RuntimeException("Exception reading rawTrack: " + e); + if (debugInfo != null) { + debugInfo.append("Error reading rawTrack: " + e); + } } } }