Skip to content

Commit

Permalink
Reduce logger noise.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Apr 8, 2019
1 parent 3a9df01 commit cf6d601
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,7 +1,7 @@
### 0.14.2 (Next)

* [#256](https://github.com/slack-ruby/slack-ruby-client/pull/256): Added support for specifying signing secrets on a per-request basis via optional parameters to the `Slack::Events::Request` constructor - [@gabrielmdeal](https://github.com/gabrielmdeal).
* [#262](https://github.com/slack-ruby/slack-ruby-client/pull/262): Better handling of `disconnect!`/`close` - [@ioquatix](https://github.com/ioquatix).
* [#257](https://github.com/slack-ruby/slack-ruby-client/pull/257), [#262](https://github.com/slack-ruby/slack-ruby-client/pull/262): Fixed occasional failures to reconnect - [@ioquatix](https://github.com/ioquatix), [@dblock](https://github.com/dblock).
* Your contribution here.

### 0.14.1 (2019/2/26)
Expand Down
9 changes: 7 additions & 2 deletions lib/slack/real_time/concurrency/async.rb
Expand Up @@ -44,8 +44,13 @@ def start_reactor(client)
@client_task.stop if @client_task

@client_task = task.async do |subtask|
subtask.annotate 'client run-loop'
client.run_loop
begin
subtask.annotate 'client run-loop'
client.run_loop
rescue ::Async::Wrapper::Cancelled => e
# Will get restarted by ping worker.
client.logger.warn(subtask.to_s) { e.message }
end
end

@restart.wait
Expand Down

0 comments on commit cf6d601

Please sign in to comment.