修改异常时任务显示问题

This commit is contained in:
Anyon 2020-02-02 13:26:43 +08:00
parent 0e751c78c9
commit 2e27de7a3a

View File

@ -50,6 +50,7 @@ class Queue extends Controller
$this->message = $this->app->console->call('xtask:state')->fetch();
$this->listen = preg_match('/process.*?\d+.*?running/', $this->message, $attr);
} catch (\Exception $exception) {
$this->listen = false;
$this->message = $exception->getMessage();
}
}