Skip to content

Commit

Permalink
Fix error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnstee committed Jun 3, 2024
1 parent 54bc1a5 commit 8603ae8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions KafkaClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ private void HandleCommand()
}
else
{
Log.Logger.Error("Unknown command received: " + result.Topic);
response.Status = "Unkown command " + result.Topic;
Log.Logger.Error("Unknown command received: " + request.Command);
response.Status = "Unkown command " + request.Command;
response.Success = false;
}

Expand Down
4 changes: 2 additions & 2 deletions MQTTClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ private async Task HandleMessageAsync(MqttApplicationMessageReceivedEventArgs ar
}
else
{
Log.Logger.Error("Unknown command received: " + args.ApplicationMessage.Topic);
response.Status = "Unkown command " + args.ApplicationMessage.Topic;
Log.Logger.Error("Unknown command received: " + request.Command);
response.Status = "Unkown command " + request.Command;
response.Success = false;
}

Expand Down

0 comments on commit 8603ae8

Please sign in to comment.