lib/telegram/bot/client.rb in telegram-bot-ruby-0.19.1 vs lib/telegram/bot/client.rb in telegram-bot-ruby-0.19.2
- old
+ new
@@ -58,10 +58,10 @@
end
def log_incoming_message(message)
uid = message.respond_to?(:from) && message.from ? message.from.id : nil
logger.info(
- format('Incoming message: text="%<text>s" uid=%<uid>s', message: message, uid: uid)
+ format('Incoming message: text="%<message>s" uid=%<uid>s', message: message, uid: uid)
)
end
end
end
end