atipugin / telegram-bot-ruby

Ruby wrapper for Telegram's Bot API
https://core.telegram.org/bots/api
Do What The F*ck You Want To Public License
1.36k stars 222 forks source link

prevented message logging if the text is nil #178

Closed kuwizard closed 6 years ago

kuwizard commented 6 years ago

Hello and thanks for having nice and convenient ruby wrapper for telegram bots :) I've recently found an issue when gem crashed after I tried to add my bot to the chat - he recognised this "adding to chat" message as a nil-message and was crashing all the time. I tried to apply fix for this situation. Thanks!

kuwizard commented 6 years ago

Sorry, it was totally my fault and bug in my code, I made a mistake. Sorry for disturbance