diff --git a/lib/slack/web/faraday/connection.rb b/lib/slack/web/faraday/connection.rb index 5f461b5e..8f53ecab 100644 --- a/lib/slack/web/faraday/connection.rb +++ b/lib/slack/web/faraday/connection.rb @@ -28,7 +28,7 @@ def connection connection.use ::FaradayMiddleware::Mashify, mash_class: Slack::Messages::Message connection.use ::FaradayMiddleware::ParseJson connection.use ::Slack::Web::Faraday::Response::WrapError - connection.response :logger, logger if logger + connection.response :logger, logger, bodies: true if logger connection.adapter adapter end end