Refactor logging instances in DefaultTriggerScheduler.cs
This commit changes the reference to the logger instance in the DefaultTriggerScheduler class. It corrects the reference from a private instance to the correct instance 'logger'. Moreover, the string formatting of the second logger warning message has been updated for standardization.
This commit is contained in:
parent
4a44037710
commit
f52c163fe0
|
|
@ -91,7 +91,7 @@ public class DefaultTriggerScheduler(IWorkflowScheduler workflowScheduler, ISyst
|
|||
}
|
||||
catch (FormatException ex)
|
||||
{
|
||||
logger.LogWarning(ex,"Cron expression format error: {exceptionMessage}. CronExpression: {cronExpression}", ex.Message, cronExpression);
|
||||
logger.LogWarning(ex,"Cron expression format error: {ExceptionMessage}. CronExpression: {CronExpression}", ex.Message, cronExpression);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue