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

View File

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