modify
This commit is contained in:
@@ -200,8 +200,8 @@ class Crontab extends BaseObject
|
|||||||
public function execute(): void
|
public function execute(): void
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
var_dump($this->handler);
|
$result = call_user_func($this->handler, $this->params, $this->name);
|
||||||
call_user_func($this->handler, $this->params, $this->name);
|
var_dump($result);
|
||||||
} catch (\Throwable $throwable) {
|
} catch (\Throwable $throwable) {
|
||||||
$this->addError($throwable->getMessage());
|
$this->addError($throwable->getMessage());
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user