Vishnu Narayanan
2022-03-28 18:14:30 +05:30
committed by GitHub
parent 823c0ab6a7
commit 8155024b6a
19 changed files with 25 additions and 25 deletions

View File

@@ -8,6 +8,6 @@ class ContactAvatarJob < ApplicationJob
)
contact.avatar.attach(io: avatar_file, filename: avatar_file.original_filename, content_type: avatar_file.content_type)
rescue Down::Error => e
Rails.logger.info "Exception: invalid avatar url #{avatar_url} : #{e.message}"
Rails.logger.error "Exception: invalid avatar url #{avatar_url} : #{e.message}"
end
end

View File

@@ -8,7 +8,7 @@ class ContactIpLookupJob < ApplicationJob
update_contact_location_from_ip(contact)
rescue Errno::ETIMEDOUT => e
Rails.logger.info "Exception: ip resolution failed : #{e.message}"
Rails.logger.warn "Exception: ip resolution failed : #{e.message}"
end
private