Validate init DB method

This commit is contained in:
2020-12-23 12:35:18 +03:00
parent 733c6cda5c
commit a0591c39a6

View File

@@ -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) {