mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 17:17:02 +00:00
Adding some trace logging when setting last execution time for tasks
This commit is contained in:
parent
d4096f8786
commit
47ee7f276c
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ public void HandleAsync(CommandExecutedEvent message)
|
|||
|
||||
if (scheduledTask != null)
|
||||
{
|
||||
_logger.Trace("Updating last run time for: {0}", scheduledTask.TypeName);
|
||||
_scheduledTaskRepository.SetLastExecutionTime(scheduledTask.Id, DateTime.UtcNow);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue