forked from j62/ctbrec
Improve logging
This commit is contained in:
parent
c081f95d43
commit
3d076cdde6
|
@ -107,9 +107,9 @@ public class HlsDownload extends AbstractHlsDownload {
|
||||||
throw new IOException("Couldn't determine segments uri");
|
throw new IOException("Couldn't determine segments uri");
|
||||||
}
|
}
|
||||||
} catch (ParseException e) {
|
} 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) {
|
} 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) {
|
} catch (EOFException e) {
|
||||||
// end of playlist reached
|
// end of playlist reached
|
||||||
LOG.debug("Reached end of playlist for model {}", model);
|
LOG.debug("Reached end of playlist for model {}", model);
|
||||||
|
|
Loading…
Reference in New Issue