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

Handle migration_in_progress error from Slack #13

Description

@keydunov

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions