diff --git a/src/Hangfire.Core/Server/AutomaticRetryProcess.cs b/src/Hangfire.Core/Server/AutomaticRetryProcess.cs index 24a2e5e23..0f9d56143 100644 --- a/src/Hangfire.Core/Server/AutomaticRetryProcess.cs +++ b/src/Hangfire.Core/Server/AutomaticRetryProcess.cs @@ -73,7 +73,7 @@ public void Execute(BackgroundProcessContext context) _logger.Log( logLevel, // ReSharper disable once AccessToModifiedClosure - () => $"Error occurred during execution of '{_innerProcess}' process. Execution will be retried (attempt {i + 1} of {MaxRetryAttempts}) in {nextTry} seconds.", + () => $"Error occurred during execution of '{_innerProcess}' process. Execution will be retried (attempt #{i + 1}) in {nextTry} seconds.", ex); context.Wait(nextTry);