Skip to content

Commit

Permalink
Update transport.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
lomefin authored Jan 25, 2024
1 parent 5ed22a4 commit 414b4c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/transport.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def self.put_post(url:, body:, xheaders:, params:, method:)
def self.code_response(rsp, headers)
response_code = rsp.options[:response_code]

Rails.logger.debug rsp.options[:response_body] if response_code < 300
{
code: response_code,
url: rsp.options[:effective_url],
Expand Down

0 comments on commit 414b4c9

Please sign in to comment.