refactor(database): improve error handling for unsupported database types in StartDatabaseProxy

This commit is contained in:
Andras Bacsai 2025-07-07 10:23:31 +02:00
parent f732220b8f
commit 9b8da285c0

View file

@ -47,7 +47,6 @@ public function handle(StandaloneRedis|StandalonePostgresql|StandaloneMongodb|St
if ($isSSLEnabled) {
$internalPort = match ($databaseType) {
'standalone-redis', 'standalone-keydb', 'standalone-dragonfly' => 6380,
default => throw new \Exception("Unsupported database type: $databaseType"),
};
}