diff options
author | 2019-03-01 10:08:00 +0300 | |
---|---|---|
committer | 2019-03-01 10:08:00 +0300 | |
commit | e1e416608c2ed864cb7d93fc582dd267aa5a0b5e (patch) | |
tree | 384d86aed9e3e784329fa905b551f165fc00a33f /src/main/java/com/juick/server/util | |
parent | b53425e6b036f6760a5d0a98537f99b8d9509d34 (diff) |
ImageUtils catch IOException from apache-imaging
Diffstat (limited to 'src/main/java/com/juick/server/util')
-rw-r--r-- | src/main/java/com/juick/server/util/ImageUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/util/ImageUtils.java b/src/main/java/com/juick/server/util/ImageUtils.java index d16faf8f..2f5d3292 100644 --- a/src/main/java/com/juick/server/util/ImageUtils.java +++ b/src/main/java/com/juick/server/util/ImageUtils.java @@ -108,7 +108,7 @@ public class ImageUtils { } } } - } catch (ImageReadException e) { + } catch (ImageReadException | IOException e) { // failed to read metadata. // nothing to do here, return image as is. } |