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

robot.emit 'error' for slack client errors #230

Merged

Conversation

technicalpickles
Copy link
Contributor

I'm debugging an error I received overnight that crashed my hubot instance over at github#1 . Digging into it a bit more, I found that the adapter's error handler is exiting when the error happens.

This PR updates the adapter to not exit, and to use hubot's error handling instead of logging it (the error handling logs by default).

@technicalpickles
Copy link
Contributor Author

Looks like this has my changes from #229 in it too. I can rebase this PR with only the emit changes.

@technicalpickles technicalpickles force-pushed the robot-emit-error-for-slack-client-errors branch from 90516db to 6dd613b Compare September 25, 2015 15:33
@technicalpickles
Copy link
Contributor Author

I've cherry-picked the changes as I mentioned.

mjsz added a commit that referenced this pull request Oct 15, 2015
…-errors

robot.emit 'error' for slack client errors
@mjsz mjsz merged commit 58a9ab7 into slackapi:master Oct 15, 2015
@technicalpickles technicalpickles deleted the robot-emit-error-for-slack-client-errors branch October 16, 2015 03:19
@aoberoi aoberoi mentioned this pull request Nov 2, 2016
6 tasks
@usernamealreadyis usernamealreadyis mentioned this pull request Mar 3, 2017
Closed
6 tasks
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

Successfully merging this pull request may close these issues.

None yet

2 participants