From a0591c39a658d1688d086e55d71423cd10c666d4 Mon Sep 17 00:00:00 2001 From: Timoffei Bubigo Date: Wed, 23 Dec 2020 12:35:18 +0300 Subject: [PATCH] Validate init DB method --- core/app/Console/Commands/HRCCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/app/Console/Commands/HRCCommand.php b/core/app/Console/Commands/HRCCommand.php index 2dd99f2..9ab4928 100644 --- a/core/app/Console/Commands/HRCCommand.php +++ b/core/app/Console/Commands/HRCCommand.php @@ -54,9 +54,9 @@ class HRCCommand extends Command public function handle() { $data = $this->prepareRaw(); - $this->initDB(); try { + $this->initDB(); $result = $this->command($data); } catch (\Exception $e) {