mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-05 00:05:35 -04:00
chore: RuboCop lint Lint/StringConversionInInterpolation
This commit is contained in:
parent
5525c49529
commit
769efe6af6
@ -29,7 +29,7 @@ module Faraday
|
||||
end
|
||||
|
||||
def on_complete(env)
|
||||
info('response') { "Status #{env.status.to_s}" }
|
||||
info('response') { "Status #{env.status}" }
|
||||
debug('response') { apply_filters(dump_headers env.response_headers) } if log_headers?(:response)
|
||||
debug('response') { apply_filters(dump_body env[:body]) } if env[:body] && log_body?(:response)
|
||||
end
|
||||
|
@ -80,7 +80,7 @@ module Faraday
|
||||
end
|
||||
|
||||
error do |e|
|
||||
"#{e.class}\n#{e.to_s}\n#{e.backtrace.join("\n")}"
|
||||
"#{e.class}\n#{e}\n#{e.backtrace.join("\n")}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user