Improve logging
This commit is contained in:
parent
e0dbb0eea7
commit
3c25a41e3a
|
@ -172,8 +172,9 @@ public abstract class AbstractHlsDownload extends AbstractDownload {
|
|||
} else if (e.getResponseCode() == 403) {
|
||||
checkIfModelIsStillOnline("Playlist access forbidden (403). Model {} probably went private or offline. Model state: {}");
|
||||
} else {
|
||||
LOG.info("Playlist couldn't not be downloaded for model {} {} times", model, consecutivePlaylistErrors, e);
|
||||
if (consecutivePlaylistErrors >= 3) {
|
||||
LOG.info("Playlist couldn't not be downloaded for model {}. Stopping recording", model, e);
|
||||
LOG.info("Playlist couldn't not be downloaded for model {} {} times. Stopping recording", model, consecutivePlaylistErrors, e);
|
||||
running = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue