From ccbfd8849ab10a296b4737fd44aa7fda0050fdd6 Mon Sep 17 00:00:00 2001 From: Oleg Zhuk Date: Mon, 22 Jul 2024 09:34:16 +0200 Subject: [PATCH] Update PushNotificationSynchronizerTask.cs Fixed misspelling --- .../Scalability/PushNotificationSynchronizerTask.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/VirtoCommerce.Platform.Web/PushNotifications/Scalability/PushNotificationSynchronizerTask.cs b/src/VirtoCommerce.Platform.Web/PushNotifications/Scalability/PushNotificationSynchronizerTask.cs index f2cae2c8dda..1f87a9bdf18 100644 --- a/src/VirtoCommerce.Platform.Web/PushNotifications/Scalability/PushNotificationSynchronizerTask.cs +++ b/src/VirtoCommerce.Platform.Web/PushNotifications/Scalability/PushNotificationSynchronizerTask.cs @@ -52,7 +52,7 @@ protected override async Task ExecuteAsync(CancellationToken stoppingToken) { if (_hubConnection.State == HubConnectionState.Disconnected) { - //Wait until the platform being started to be able connect to the SignalR hub + // Wait until the platform is started to be able to connect to the SignalR hub try { await _hubConnection.StartAsync(stoppingToken); @@ -61,8 +61,8 @@ protected override async Task ExecuteAsync(CancellationToken stoppingToken) } catch (Exception ex) { - //Wait until platform is started - _logger.LogError(ex, "Could not starts connection to the server {HubUrl}", _options.HubUrl); + // Raise the error to the log + _logger.LogError(ex, "Could not start the connection to the server {HubUrl}", _options.HubUrl); } } await Task.Delay(1000);