Evan Harris 6 years ago committed by jvoisin
parent eccb7e08f5
commit bf309e9117
  1. 3
      airsonic-main/src/main/java/org/airsonic/player/controller/CoverArtController.java

@ -383,8 +383,9 @@ public class CoverArtController implements LastModified {
in = getImageInputStream(coverArt);
BufferedImage bimg = ImageIO.read(in);
if (bimg != null) {
return scale(bimg, size, size);
return scale(bimg, size, size);
}
LOG.warn("Failed to process cover art " + coverArt + ": {}", bimg);
} catch (Throwable x) {
LOG.warn("Failed to process cover art " + coverArt + ": " + x, x);
} finally {

Loading…
Cancel
Save