Skip to content

Commit db1e458

Browse files
committed
Stop using to_s
1 parent ec706bc commit db1e458

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/zendesk_api/middleware/response/logger.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def call(env)
1818
@logger.debug dump_debug(env, :request_headers)
1919

2020
@app.call(env).on_complete do |env|
21-
info = "Status #{env[:status].to_s}"
21+
info = "Status #{env[:status]}"
2222
info.concat(" #{env[:body].inspect}") if (400..499).cover?(env[:status].to_i)
2323

2424
@logger.info info

0 commit comments

Comments
 (0)