forked from j62/ctbrec
Be less verbose on playlist parsing errors
This commit is contained in:
parent
45a7e4ba5f
commit
2658536ee6
|
@ -179,7 +179,9 @@ public class MyFreeCamsModel extends AbstractModel {
|
||||||
Collections.sort(streamSources);
|
Collections.sort(streamSources);
|
||||||
StreamSource best = streamSources.get(streamSources.size()-1);
|
StreamSource best = streamSources.get(streamSources.size()-1);
|
||||||
resolution = new int[] {best.width, best.height};
|
resolution = new int[] {best.width, best.height};
|
||||||
} catch (ExecutionException | IOException | ParseException | PlaylistException e) {
|
} catch (ParseException | PlaylistException e) {
|
||||||
|
LOG.warn("Couldn't determine stream resolution - {}", e.getMessage());
|
||||||
|
} catch (ExecutionException | IOException e) {
|
||||||
LOG.error("Couldn't determine stream resolution", e);
|
LOG.error("Couldn't determine stream resolution", e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue