mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
修改异常时任务显示问题
This commit is contained in:
parent
0e751c78c9
commit
2e27de7a3a
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user