Fixed log message.

This commit is contained in:
Martin Edenhofer 2015-07-07 08:52:22 +02:00
parent 3a30bffbc0
commit 8cfd10e690

View file

@ -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,