mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 22:17:28 +00:00
1 parent
f75f90079a
commit
07919d1ccb
1 file changed
+2
-2
+2
-2
@@ -112,8 +112,8 @@ func (i *imageResource) getExif() *exif.Exif {
|
||||
|
||||
x, err := i.getSpec().imaging.DecodeExif(f)
|
||||
if err != nil {
|
||||
i.metaInitErr = err
|
||||
return
|
||||
i.getSpec().Logger.Warnf("Unable to decode Exif metadata from image: %s", i.Key())
|
||||
return nil
|
||||
}
|
||||
|
||||
i.meta = &imageMeta{Exif: x}
|
||||
|
||||
Reference in new issue
Block a user