This commit is contained in:
2021-03-30 11:56:29 +08:00
parent 4171727784
commit 482f593e3b
21 changed files with 40 additions and 24 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ class OnTask extends Callback
} catch (\Throwable $exception) {
$finish['status'] = 'error';
$finish['info'] = $this->format($exception);
$this->error($exception, 'Task');
$this->addError($exception, 'Task');
return $finish;
} finally {