Skip to content

Commit

Permalink
Fix #643 Resolve undefined user ID in debug logging (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch authored Aug 2, 2022
1 parent 185ff26 commit c0c0d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit c0c0d8d

Please sign in to comment.