改名
This commit is contained in:
@@ -205,7 +205,7 @@ class Command extends Component
|
|||||||
}
|
}
|
||||||
} catch (\Throwable | Exception $exception) {
|
} catch (\Throwable | Exception $exception) {
|
||||||
$this->addError($this->sql . '. error: ' . $exception->getMessage(), 'mysql');
|
$this->addError($this->sql . '. error: ' . $exception->getMessage(), 'mysql');
|
||||||
$result = null;
|
$result = [];
|
||||||
} finally {
|
} finally {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user