Update app/workers/deletes.php

This commit is contained in:
Christy Jacob 2022-11-16 20:33:57 +05:30 committed by GitHub
parent 0250754e6f
commit a976390e5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,7 @@ class DeletesV1 extends Worker
$project = $this->getConsoleDB()->getDocument('projects', $document->getAttribute('projectId'));
if ($project->isEmpty()) {
Console::success('Deleting schedule for function ' . $document->getAttribute('resourceId'));
Console::warn('Unable to delete schedule for function ' . $document->getAttribute('resourceId'));
return;
}