Skip to content

Commit

Permalink
Adjust offline logger level to debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Jul 24, 2019
1 parent 2924970 commit 042fe7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### 0.14.4 (Next)

* [#288](https://github.com/slack-ruby/slack-ruby-client/pull/288): Adjust ping worker logger level to debug when offline - [@dblock](https://github.com/dblock).
* Your contribution here.

### 0.14.3 (2019/7/23)
Expand Down
2 changes: 1 addition & 1 deletion lib/slack/real_time/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def keep_alive?
def run_ping!
return if keep_alive?

logger.warn(to_s) { 'is offline' }
logger.debug(to_s) { 'is offline' }

restart_async
rescue StandardError => e
Expand Down

0 comments on commit 042fe7c

Please sign in to comment.