Fix event-triggered multi-execution
This commit is contained in:
parent
69a4f51d58
commit
c93b7aa452
1 changed files with 15 additions and 11 deletions
|
@ -74,6 +74,7 @@ class FunctionsV1 extends Worker
|
|||
|
||||
Console::success('Iterating function: ' . $function->getAttribute('name'));
|
||||
|
||||
try {
|
||||
$this->execute(
|
||||
project: $project,
|
||||
function: $function,
|
||||
|
@ -86,6 +87,9 @@ class FunctionsV1 extends Worker
|
|||
);
|
||||
|
||||
Console::success('Triggered function: ' . $events[0]);
|
||||
} catch (\Throwable $th) {
|
||||
Console::error("Failed to execute " . $function->getAttribute('id') . " with error: " . $th->getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue