Skip to content

Commit

Permalink
Fix failing test due to incorrect logging of channel name in
Browse files Browse the repository at this point in the history
incoming_message_dispatcher
  • Loading branch information
sacOO7 committed Jun 6, 2024
1 parent 5b0a006 commit 5facf99
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/ably/realtime/client/incoming_message_dispatcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ def dispatch_protocol_message(*args)
protocol_message.action == :presence ||
protocol_message.action == :attached
)

logger.info "Setting channel serial for #{channel.name}"
logger.info "Previous serial #{channel.name}, new serial #{protocol_message.channel_serial}"
get_channel(protocol_message.channel).tap do |channel|
logger.info "Setting channel serial for channel #{channel.name}"
logger.info "Previous serial #{channel.properties.channel_serial}, new serial #{protocol_message.channel_serial}"
channel.properties.channel_serial = protocol_message.channel_serial
end
end
Expand Down

0 comments on commit 5facf99

Please sign in to comment.