Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safe payloads #9

Open
jaxxstorm opened this issue Feb 21, 2016 · 0 comments
Open

Safe payloads #9

jaxxstorm opened this issue Feb 21, 2016 · 0 comments

Comments

@jaxxstorm
Copy link

If trying to load events in slack or hipchat, the handler dies:

[2016-02-21 12:10:30 UTC] DEBUG: Closing connection to the Slack Real Time Messaging API.
/home/lbriggs/.rvm/gems/ruby-2.3.0/gems/lita-slack-1.7.2/lib/lita/adapters/slack/rtm_connection.rb:107:in `safe_payload_for': Cannot send payload greater than 16000 bytes. (ArgumentError)
    from /home/lbriggs/.rvm/gems/ruby-2.3.0/gems/lita-slack-1.7.2/lib/lita/adapters/slack/rtm_connection.rb:62:in `block (2 levels) in send_messages'
    from /home/lbriggs/.rvm/gems/ruby-2.3.0/gems/lita-slack-1.7.2/lib/lita/adapters/slack/event_loop.rb:10:in `block in defer'
    from /home/lbriggs/.rvm/gems/ruby-2.3.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:1067:in `block in spawn_threadpool'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant