From 8cfd10e6903006c565b2e4debc8828bf473a8f5a Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 7 Jul 2015 08:52:22 +0200 Subject: [PATCH] Fixed log message. --- lib/zammad/big_data/user.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/zammad/big_data/user.rb b/lib/zammad/big_data/user.rb index 6ae5f6846..b12d08aae 100644 --- a/lib/zammad/big_data/user.rb +++ b/lib/zammad/big_data/user.rb @@ -29,10 +29,10 @@ returns }, ) if !response.success? - Rails.logger.info "Can't fetch image for '#{data[:url]}' (maybe no avatar available), http code: #{response.code}" + Rails.logger.info "Can't fetch image for '#{email}' (maybe no avatar available), http code: #{response.code}" return end - Rails.logger.info "Fetched image for '#{data[:url]}', http code: #{response.code}" + Rails.logger.info "Fetched image for '#{email}', http code: #{response.code}" mime_type = 'image/jpeg' { content: response.body,