1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02: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);
} }
} }