Browse Source

Fixed incorrect logging parameters.

add-notification-hub-logging
Todd Martin 3 years ago
parent
commit
5a8d693ff0
No known key found for this signature in database
GPG Key ID: 663E7AF5C839BC8F
  1. 2
      src/Notifications/AzureQueueHostedService.cs

2
src/Notifications/AzureQueueHostedService.cs

@ -72,7 +72,7 @@ public class AzureQueueHostedService : IHostedService, IDisposable @@ -72,7 +72,7 @@ public class AzureQueueHostedService : IHostedService, IDisposable
try
{
var decodedText = message.DecodeMessageText();
_logger.LogInformation("Processing message with text {message}", message.MessageId, decodedText);
_logger.LogInformation("Processing message with text {message}", decodedText);
await HubHelpers.SendNotificationToHubAsync(
decodedText, _hubContext, _anonymousHubContext, _logger, cancellationToken);
_logger.LogInformation("Completed processing of message", message.MessageId);

Loading…
Cancel
Save