Improve logging

This commit is contained in:
0xb00bface 2020-12-19 17:41:03 +01:00
parent c081f95d43
commit 3d076cdde6
1 changed files with 2 additions and 2 deletions

View File

@ -107,9 +107,9 @@ public class HlsDownload extends AbstractHlsDownload {
throw new IOException("Couldn't determine segments uri");
}
} catch (ParseException e) {
throw new IOException("Couldn't parse HLS playlist:\n" + e.getInput(), e);
throw new IOException("Couldn't parse HLS playlist for model " + model + "\n" + e.getInput(), e);
} catch (PlaylistException e) {
throw new IOException("Couldn't parse HLS playlist", e);
throw new IOException("Couldn't parse HLS playlist for model " + model, e);
} catch (EOFException e) {
// end of playlist reached
LOG.debug("Reached end of playlist for model {}", model);