mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-12 22:39:34 -05:00
Merge pull request #1131 from owncloud/reduce-thumbnails-logs
reduce warn logs
This commit is contained in:
@@ -41,7 +41,7 @@ func (s *FileSystem) Get(username string, key string) []byte {
|
||||
img := filepath.Join(userDir, key)
|
||||
content, err := ioutil.ReadFile(img)
|
||||
if err != nil {
|
||||
s.logger.Warn().Err(err).Msgf("could not read file %s", key)
|
||||
s.logger.Debug().Str("err", err.Error()).Str("key", key).Msg("could not load thumbnail from store")
|
||||
return nil
|
||||
}
|
||||
return content
|
||||
|
||||
Reference in New Issue
Block a user