Import: convert all failed date parsing into SAXExceptions.

This commit is contained in:
Dennis Guse
2020-06-06 23:18:21 +02:00
parent 7e444cbf31
commit f4fe7b1ab3
@@ -424,7 +424,7 @@ abstract class AbstractFileTrackImporter extends DefaultHandler implements Track
} else {
try {
timeValue = StringUtils.parseTime(time);
} catch (IllegalArgumentException e) {
} catch (Exception e) {
throw new SAXException(createErrorMessage(String.format(Locale.US, "Unable to parse time: %s", time)), e);
}
}