lib/telegram/bot/client.rb in telegram-bot-ruby-0.5.2 vs lib/telegram/bot/client.rb in telegram-bot-ruby-0.5.3

- old
+ new

@@ -56,11 +56,12 @@ update.edited_message || update.message end def log_incoming_message(message) + uid = message.from ? message.from.id : nil logger.info( - format('Incoming message: text="%s" uid=%i', message, message.from.id) + format('Incoming message: text="%s" uid=%s', message, uid) ) end end end end