1
0
Fork 0
mirror of synced 2024-08-20 20:51:40 +12:00

Fix event-triggered multi-execution

This commit is contained in:
Matej Bačo 2022-08-17 13:34:52 +00:00
parent 69a4f51d58
commit c93b7aa452

View file

@ -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());
}
}
}