Don't log big xml things
This commit is contained in:
parent
a99e69edd6
commit
8231ce2239
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ module Job
|
|||
end
|
||||
unless response.success?
|
||||
pod = Pod.find_or_create_by_url(response.effective_url)
|
||||
log_line = "event=http_multi_fail sender_id=#{user_id} recipient_id=#{person.id} url=#{response.effective_url} response_code='#{response.code}' xml='#{Base64.decode64(enc_object_xml)}'"
|
||||
log_line = "event=http_multi_fail sender_id=#{user_id} recipient_id=#{person.id} url=#{response.effective_url} response_code='#{response.code}'"
|
||||
Rails.logger.info(log_line)
|
||||
pod.pod_stats.create(:error_message => log_line, :person_id => person.id, :error_code => response.code.to_i)
|
||||
failed_request_people << person.id
|
||||
|
|
|
|||
Loading…
Reference in a new issue