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

Add parameter checking to checkBotNameInMessage and isDirectMessage #26

Open
CiaranHannigan opened this issue Sep 22, 2016 · 0 comments

Comments

@CiaranHannigan
Copy link
Contributor

Seeing some failures crop up from these methods in nlc.catchall.js

2016-09-22T10:23:31.32-0400 [App/0]      OUT [Thu Sep 22 2016 14:23:31 GMT+0000 (UTC)]
ERROR TypeError: Cannot read property 'match' of undefined
2016-09-22T10:23:31.32-0400 [App/0]      OUT   at checkBotNameInMessage
(/home/vcap/app/node_modules/hubot-ibmcloud-nlc/src/scripts/nlc.catchall.js:72:23)
2016-09-22T10:24:26.36-0400 [App/0]      OUT [Thu Sep 22 2016 14:24:26 GMT+0000 (UTC)]
ERROR TypeError: Cannot read property '0' of undefined
2016-09-22T10:24:26.36-0400 [App/0]      OUT   at isDirectMessage
(/home/vcap/app/node_modules/hubot-ibmcloud-nlc/src/scripts/nlc.catchall.js:82:25)
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