Validate init DB method
This commit is contained in:
@@ -54,9 +54,9 @@ class HRCCommand extends Command
|
|||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
$data = $this->prepareRaw();
|
$data = $this->prepareRaw();
|
||||||
$this->initDB();
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
$this->initDB();
|
||||||
$result = $this->command($data);
|
$result = $this->command($data);
|
||||||
}
|
}
|
||||||
catch (\Exception $e) {
|
catch (\Exception $e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user