diff --git a/src/Commands/Db/DbTestCommand.php b/src/Commands/Db/DbTestCommand.php index 276e466..4244dda 100644 --- a/src/Commands/Db/DbTestCommand.php +++ b/src/Commands/Db/DbTestCommand.php @@ -119,6 +119,7 @@ private function testConnection(\Illuminate\Database\Connection $connection): bo $serverVersion = $pdo->getAttribute(\PDO::ATTR_SERVER_VERSION); $connectionStatus = $pdo->getAttribute(\PDO::ATTR_CONNECTION_STATUS); } catch (\Exception $e) { + $this->error($e->getMessage()); $this->error('Connection failed.'); return false;