From c0c0d8d348b1522afa9835ef84a46f2bfbc6cdaf Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Tue, 2 Aug 2022 14:24:31 +0900 Subject: [PATCH] Fix #643 Resolve undefined user ID in debug logging (#644) --- src/bot.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.coffee b/src/bot.coffee index d8eddaee..250be963 100644 --- a/src/bot.coffee +++ b/src/bot.coffee @@ -332,7 +332,7 @@ class SlackBot extends Adapter # conversation. In that situation we fallback to an empty string. user.room = event.channel_id - @robot.logger.debug "Received file_shared message from: #{user.id}, file_id: #{event.file_id}" + @robot.logger.debug "Received file_shared message from: #{event.user_id}, file_id: #{event.file_id}" @receive new FileSharedMessage(user, event.file_id, event.event_ts)