Skip to content

Commit ccbfd88

Browse files
authored
Update PushNotificationSynchronizerTask.cs
Fixed misspelling
1 parent 6cab8ed commit ccbfd88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/VirtoCommerce.Platform.Web/PushNotifications/Scalability/PushNotificationSynchronizerTask.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected override async Task ExecuteAsync(CancellationToken stoppingToken)
5252
{
5353
if (_hubConnection.State == HubConnectionState.Disconnected)
5454
{
55-
//Wait until the platform being started to be able connect to the SignalR hub
55+
// Wait until the platform is started to be able to connect to the SignalR hub
5656
try
5757
{
5858
await _hubConnection.StartAsync(stoppingToken);
@@ -61,8 +61,8 @@ protected override async Task ExecuteAsync(CancellationToken stoppingToken)
6161
}
6262
catch (Exception ex)
6363
{
64-
//Wait until platform is started
65-
_logger.LogError(ex, "Could not starts connection to the server {HubUrl}", _options.HubUrl);
64+
// Raise the error to the log
65+
_logger.LogError(ex, "Could not start the connection to the server {HubUrl}", _options.HubUrl);
6666
}
6767
}
6868
await Task.Delay(1000);

0 commit comments

Comments
 (0)