Evan Harris 5 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); in = getImageInputStream(coverArt);
BufferedImage bimg = ImageIO.read(in); BufferedImage bimg = ImageIO.read(in);
if (bimg != null) { 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) { } catch (Throwable x) {
LOG.warn("Failed to process cover art " + coverArt + ": " + x, x); LOG.warn("Failed to process cover art " + coverArt + ": " + x, x);
} finally { } finally {

Loading…
Cancel
Save