Browse Source

Fix log depth of AvatarLink

pull/3651/merge
Unknwon 8 years ago
parent
commit
6d6848af5c
No known key found for this signature in database
GPG Key ID: FB9F411CDD69BEC1
  1. 2
      modules/base/tool.go

2
modules/base/tool.go

@ -185,7 +185,7 @@ func AvatarLink(email string) (url string) {
var err error var err error
url, err = setting.LibravatarService.FromEmail(email) url, err = setting.LibravatarService.FromEmail(email)
if err != nil { if err != nil {
log.Error(1, "LibravatarService.FromEmail: %v", err) log.Error(4, "LibravatarService.FromEmail [%s]: %v", email, err)
} }
} }
if len(url) == 0 && !setting.DisableGravatar { if len(url) == 0 && !setting.DisableGravatar {

Loading…
Cancel
Save