Skip to content

Commit

Permalink
wrong logger was used for receive payload logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Tapanila committed Jul 16, 2024
1 parent 194363a commit e7a8117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sharpcaster/ChromeCastClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private void Receive()
{
GetChannel<IHeartbeatChannel>().StopTimeoutTimer();
}
_logger?.LogTrace($"RECEIVED: {payload}");
channel?._logger?.LogTrace($"RECEIVED: {payload}");

var message = JsonConvert.DeserializeObject<MessageWithId>(payload);
if (MessageTypes.TryGetValue(message.Type, out Type type))
Expand Down

0 comments on commit e7a8117

Please sign in to comment.