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