catch Exception 改为 Throwable
This commit is contained in:
@@ -27,7 +27,7 @@ abstract class AbstractTask extends Task
|
||||
{
|
||||
try {
|
||||
$this->start();
|
||||
} catch (\Exception $e) {
|
||||
} catch (\Throwable $e) {
|
||||
$this->info($e);
|
||||
$this->failed($e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user