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

Bug on FB Messenger #6

Closed
guhur opened this issue Aug 9, 2016 · 2 comments
Closed

Bug on FB Messenger #6

guhur opened this issue Aug 9, 2016 · 2 comments

Comments

@guhur
Copy link
Contributor

guhur commented Aug 9, 2016

When the bot does not understand a message (here frgt), it crashes:

173.252.123.141 - - [09/Aug/2016:09:49:23 +0200] "POST /[verify_token]/fbmessenger HTTP/1.1" 500 197078 0.0534
I, [2016-08-09T09:49:26.982969 #12282] INFO -- : frgt
I, [2016-08-09T09:49:26.983503 #12282] INFO -- : find_by_answer frgt context: home
I, [2016-08-09T09:49:26.983728 #12282] INFO -- : dont_understand #<OpenStruct from="1259636124081609", text="frgt">
I, [2016-08-09T09:49:26.983911 #12282] INFO -- : find_by_name system/dont_understand
I, [2016-08-09T09:49:26.984123 #12282] INFO -- : format_answer: system/dont_understand
NoMethodError: undefined method []' for nil:NilClass /Users/pierre-louis/src/giskard/bot/navigation.rb:184:inget'
/Users/pierre-louis/src/giskard/bot/fbmessenger_bot.rb:127:in block (2 levels) in <class:FBMessengerBot>' /Users/pierre-louis/src/giskard/bot/fbmessenger_bot.rb:122:ineach'
/Users/pierre-louis/src/giskard/bot/fbmessenger_bot.rb:122:in `block in class:FBMessengerBot'
...

@thibauld
Copy link
Contributor

Does this bug still stand after your PR ?

@guhur
Copy link
Contributor Author

guhur commented Aug 13, 2016

No I close it

@guhur guhur closed this as completed Aug 13, 2016
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

2 participants