Add parser input to log message, if the HLS playlist cannot be parsed

This commit is contained in:
0xboobface 2018-09-19 13:29:04 +02:00
parent 69c518d6d6
commit 9c7f3c3fb4
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ public class HlsDownload extends AbstractHlsDownload {
throw new IOException("Couldn't determine segments uri");
}
} catch(ParseException e) {
throw new IOException("Couldn't parse stream information", e);
throw new IOException("Couldn't parse HLS playlist:\n" + e.getInput(), e);
} catch(PlaylistException e) {
throw new IOException("Couldn't parse HLS playlist", e);
} catch(EOFException e) {