You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @ALL.
I don't know if this is a bug, but I'm trying to use hubot to reply a simple message with code: url:.
At the moment I just create a big array on the brain with: [{code: "foo", url: "https://foo.bar"}, ...1000 more objects...]
We I called from the Slack, the first 17-20 items shows, and hubot exists with this output:
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR Received error [object Object]
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR undefined
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR Exiting in 1 second
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR Received error [object Object]
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR undefined
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR Exiting in 1 second
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR Received error [object Object]
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR undefined
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR Exiting in 1 second
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR Received error [object Object]
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR undefined
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR Exiting in 1 second
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR Received error [object Object]
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR undefined
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR Exiting in 1 second
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR Received error [object Object]
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR undefined
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] ERROR Exiting in 1 second
[Sat Dec 27 2014 21:21:37 GMT+0000 (UTC)] INFO Slack client closed
Even DEBUG mode doesn't show anything..
How could I help you to understand the error and fix it?
Thanks!
The text was updated successfully, but these errors were encountered:
jtomaszon
changed the title
Hubot dies after big response
Hubot dies when reply a huge message
Dec 27, 2014
You're trying to send a non-string, which I suspect doesn't work that well, and the error message you're getting matches what happens when you try to stringify data with non-primitive types.
I bet if you do something like msg.send JSON.stringify(someGiantArray) you'll get a better result. Note: your message may end up getting split into multiple parts because of a limit in Slack's API for message size.
Hey @ALL.
I don't know if this is a bug, but I'm trying to use hubot to reply a simple message with code: url:.
At the moment I just create a big array on the brain with:
[{code: "foo", url: "https://foo.bar"}, ...1000 more objects...]
We I called from the Slack, the first 17-20 items shows, and hubot exists with this output:
Even DEBUG mode doesn't show anything..
How could I help you to understand the error and fix it?
Thanks!
The text was updated successfully, but these errors were encountered: