refactor(database): improve error handling for unsupported database types in StartDatabaseProxy
This commit is contained in:
parent
f732220b8f
commit
9b8da285c0
1 changed files with 0 additions and 1 deletions
|
|
@ -47,7 +47,6 @@ public function handle(StandaloneRedis|StandalonePostgresql|StandaloneMongodb|St
|
||||||
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"),
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue