Improved logging in avatar code

This commit is contained in:
2017-06-15 16:56:06 +02:00
parent c858a58123
commit bccee5968b
4 changed files with 25 additions and 2 deletions

View File

@ -18,6 +18,7 @@ type Gravatar struct {
func (source *Gravatar) GetAvatar(user *arn.User) *Avatar {
// If the user has no Email registered we can't get a Gravatar.
if user.Email == "" {
avatarLog.Error("GRA", user.Nick, "No Email")
return nil
}