refactor(database): improve error handling for unsupported database types in StartDatabaseProxy
This commit is contained in:
@@ -47,7 +47,6 @@ class StartDatabaseProxy
|
|||||||
if ($isSSLEnabled) {
|
if ($isSSLEnabled) {
|
||||||
$internalPort = match ($databaseType) {
|
$internalPort = match ($databaseType) {
|
||||||
'standalone-redis', 'standalone-keydb', 'standalone-dragonfly' => 6380,
|
'standalone-redis', 'standalone-keydb', 'standalone-dragonfly' => 6380,
|
||||||
default => throw new \Exception("Unsupported database type: $databaseType"),
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user