From bf309e9117d187ede1584b65b6232902140bd160 Mon Sep 17 00:00:00 2001 From: Evan Harris Date: Wed, 17 Jul 2019 17:48:41 -0500 Subject: [PATCH] Fixup eccb7e08f586b3149cc5a470ed225ba511f9e0d5 (#1170) --- .../org/airsonic/player/controller/CoverArtController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/airsonic-main/src/main/java/org/airsonic/player/controller/CoverArtController.java b/airsonic-main/src/main/java/org/airsonic/player/controller/CoverArtController.java index ac6c0c63..c4266abb 100644 --- a/airsonic-main/src/main/java/org/airsonic/player/controller/CoverArtController.java +++ b/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 {