Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

Handle migration_in_progress error from Slack #13

Open
keydunov opened this issue Jan 24, 2016 · 0 comments
Open

Handle migration_in_progress error from Slack #13

keydunov opened this issue Jan 24, 2016 · 0 comments

Comments

@keydunov
Copy link
Contributor

Slack can respond to rtm.start with migration_in_progress error, slack-bot-server should handle this error.

Looks like the best option is to wait 1 second and try to reconnect.

Example from slack-ruby-bot
https://github.com/dblock/slack-ruby-bot/blob/6ab072fbf1e34f05f5d6ea3e55cd5185b1f39769/lib/slack-ruby-bot/server.rb#L25

@keydunov keydunov changed the title Handle migration_in_progress error from Slack Handle migration_in_progress error from Slack Jan 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant