Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Commit d814a63

Browse files
committed
Invoke private run_callbacks.
1 parent d2e676a commit d814a63

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#### 0.1.1 (Next)
44

5+
* Fix: error `private method 'run_callbacks' called for #<SlackRubyBotServer::Service>` - [@dblock](https://github.com/dblock).
56
* Your contribution here.
67

78
#### 0.1.0 (2020/11/15)

lib/slack-ruby-bot-server-rtm/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def self.start_server!(team, server, wait = 1)
2121
team.server = server
2222
server.start_async
2323
rescue StandardError => e
24-
SlackRubyBotServer::Config.service_class.instance.run_callbacks :error, team, e
24+
SlackRubyBotServer::Config.service_class.instance.send(:run_callbacks, :error, team, e)
2525
case e.message
2626
when 'account_inactive', 'invalid_auth' then
2727
SlackRubyBotServer::Config.logger.error "#{team.name}: #{e.message}, team will be deactivated."

0 commit comments

Comments
 (0)