1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 17:47:08 +00:00

Adding some trace logging when setting last execution time for tasks

This commit is contained in:
Mark McDowall 2013-09-13 21:18:54 -07:00
parent d4096f8786
commit 47ee7f276c

View file

@ -85,6 +85,7 @@ public void HandleAsync(CommandExecutedEvent message)
if (scheduledTask != null) if (scheduledTask != null)
{ {
_logger.Trace("Updating last run time for: {0}", scheduledTask.TypeName);
_scheduledTaskRepository.SetLastExecutionTime(scheduledTask.Id, DateTime.UtcNow); _scheduledTaskRepository.SetLastExecutionTime(scheduledTask.Id, DateTime.UtcNow);
} }
} }