@@ -150,8 +150,8 @@ |
||
150 | 150 | $task->run(); |
151 | 151 | } catch (Throwable $e) { |
152 | 152 | $this->logger->error('Error occurred when execute task {task}, error: {error}', [ |
153 | - 'task' => $task->name(), |
|
154 | - 'error' => $e->getMessage() |
|
153 | + 'task' => $task->name(), |
|
154 | + 'error' => $e->getMessage() |
|
155 | 155 | ]); |
156 | 156 | } |
157 | 157 | } |
@@ -73,7 +73,7 @@ |
||
73 | 73 | parent::__construct($scheduler, $application, $config); |
74 | 74 | |
75 | 75 | $this->setName('scheduler:list') |
76 | - ->setDescription('Show the list of scheduled tasks'); |
|
76 | + ->setDescription('Show the list of scheduled tasks'); |
|
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
@@ -72,7 +72,7 @@ |
||
72 | 72 | parent::__construct($scheduler, $application, $config); |
73 | 73 | |
74 | 74 | $this->setName('scheduler:run') |
75 | - ->setDescription('Execute the scheduled tasks'); |
|
75 | + ->setDescription('Execute the scheduled tasks'); |
|
76 | 76 | |
77 | 77 | $this->addArgument('name', 'the name of task to execute instead of all', null, false, true); |
78 | 78 | } |