fix(legacy): add log entry on task run (#2316)

This commit is contained in:
Jonas L 2022-12-16 19:06:56 +01:00 committed by GitHub
parent f8630e7a24
commit 13852ad7a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ final class TaskManager
{
$task = TaskFactory::getTask($taskName);
if ($task && $task->shouldBeRun()) {
Logging::debug("running task {$taskName}");
$task->run();
}
// Mark that the task has been checked/run.