diff --git a/app/workers/functions.php b/app/workers/functions.php index b50893724f..dbd8924468 100644 --- a/app/workers/functions.php +++ b/app/workers/functions.php @@ -88,7 +88,7 @@ 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()); + Console::error("Failed to execute " . $function->getId() . " with error: " . $th->getMessage()); } } }