From 9b8da285c0977bc90bb8ed24b937b51a91c1d5ff Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Mon, 7 Jul 2025 10:23:31 +0200 Subject: [PATCH] refactor(database): improve error handling for unsupported database types in StartDatabaseProxy --- app/Actions/Database/StartDatabaseProxy.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Actions/Database/StartDatabaseProxy.php b/app/Actions/Database/StartDatabaseProxy.php index 21fd6eb97..5c2f4d7fd 100644 --- a/app/Actions/Database/StartDatabaseProxy.php +++ b/app/Actions/Database/StartDatabaseProxy.php @@ -47,7 +47,6 @@ class StartDatabaseProxy if ($isSSLEnabled) { $internalPort = match ($databaseType) { 'standalone-redis', 'standalone-keydb', 'standalone-dragonfly' => 6380, - default => throw new \Exception("Unsupported database type: $databaseType"), }; }