mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 04:46:18 +00:00
refactor(error-handling): replace generic Exception with RuntimeException for improved error specificity
This commit is contained in:
1 parent
0369909408
commit
2361c34a53
3 files changed
+5
-5
No files matched your search
@@ -53,7 +53,7 @@ class DeleteService
|
||||
|
||||
instant_remote_process(["docker rm -f $service->uuid"], $server, throwError: false);
|
||||
} catch (\Exception $e) {
|
||||
throw new \Exception($e->getMessage());
|
||||
throw new \RuntimeException($e->getMessage());
|
||||
} finally {
|
||||
if ($deleteConfigurations) {
|
||||
$service->deleteConfigurations();
|
||||
|
||||
Reference in new issue
Block a user