Skip to content

Commit

Permalink
Merge pull request #672 from devemux86/rawtrack
Browse files Browse the repository at this point in the history
Error reading rawTrack: do not throw exception, fix #671
  • Loading branch information
afischerdev committed Feb 19, 2024
2 parents 6a0f69d + 6427dab commit 97e9a82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion brouter-core/src/main/java/btools/router/OsmTrack.java
Expand Up @@ -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);
}
}
}
}
Expand Down

0 comments on commit 97e9a82

Please sign in to comment.