Error reading rawTrack: do not throw exception, fix #671
This commit is contained in:
parent
6a0f69d546
commit
6427dab483
1 changed files with 3 additions and 1 deletions
|
@ -285,7 +285,9 @@ public final class OsmTrack {
|
||||||
}
|
}
|
||||||
dis.close();
|
dis.close();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException("Exception reading rawTrack: " + e);
|
if (debugInfo != null) {
|
||||||
|
debugInfo.append("Error reading rawTrack: " + e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue