Error reading rawTrack: do not throw exception, fix #671

This commit is contained in:
Emux 2024-02-12 15:18:55 +02:00
parent 6a0f69d546
commit 6427dab483
No known key found for this signature in database
GPG key ID: 64ED9980896038C3

View file

@ -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);
}
} }
} }
} }