We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7be4e0e commit 96bef67Copy full SHA for 96bef67
java/src/main/java/com/genexus/GxImageUtil.java
@@ -35,7 +35,7 @@ public static int getImageHeight(String imageFile) {
35
try (InputStream is = getInputStream(imageFile)) {
36
return ImageIO.read(is).getHeight();
37
}
38
- catch (IOException e) {
+ catch (Exception e) {
39
log.error("getImageHeight " + imageFile + " failed" , e);
40
return 0;
41
@@ -45,7 +45,7 @@ public static int getImageWidth(String imageFile) {
45
46
return ImageIO.read(is).getWidth();
47
48
49
log.error("getImageWidth " + imageFile + " failed" , e);
50
51
0 commit comments