Skip to content

Commit 017b314

Browse files
committed
LDEV-6211 - improve log message
1 parent e81f35f commit 017b314

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>org.lucee</groupId>
66
<artifactId>image-extension</artifactId>
7-
<version>3.0.1.0</version>
7+
<version>3.0.1.1-SNAPSHOT</version>
88
<packaging>pom</packaging>
99
<name>Image Extension</name>
1010

source/java/src/org/lucee/extension/image/Metadata.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public static void addExifInfoToStruct(final Resource res, Struct info, Log log)
9090
}
9191
}
9292
catch (Exception e) {
93-
if (log != null) log.error("imaging", e);
93+
if (log != null) log.log(Log.LEVEL_WARN, "imaging", "failed to read EXIF metadata from [" + res + "], metadata is ignored", e);
9494
}
9595
}
9696
// GPS

0 commit comments

Comments
 (0)