Error reading rawTrack: do not throw exception, fix #671
This commit is contained in:
parent
6a0f69d546
commit
6427dab483
@ -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…
x
Reference in New Issue
Block a user