forked from j62/ctbrec
1
0
Fork 0

Reduce verbosity of logging

This commit is contained in:
0xboobface 2018-11-09 18:20:28 +01:00
parent dc540c795a
commit 6982bceb57
1 changed files with 2 additions and 0 deletions
src/main/java/ctbrec/ui

View File

@ -226,6 +226,8 @@ public class ThumbCell extends StackPane {
} catch(ExecutionException e) {
if(e.getCause() instanceof EOFException) {
LOG.warn("Couldn't update resolution tag for model {}. Playlist empty", model.getName());
} else if(e.getCause() instanceof ParseException) {
LOG.warn("Couldn't update resolution tag for model {} - {}", model.getName(), e.getMessage());
} else {
LOG.warn("Couldn't update resolution tag for model {}", model.getName(), e);
}