mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
f75f90079a
commit
07919d1ccb
1 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue