From c272a770e281b7cb3b0c0a8399a5e7db1fe19fdc Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Thu, 29 May 2025 10:54:35 +0200 Subject: [PATCH] refactor(error-handling): change Exception to RuntimeException for clearer error reporting --- app/Actions/Server/StartSentinel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Actions/Server/StartSentinel.php b/app/Actions/Server/StartSentinel.php index 2785505c0..1ecf882dc 100644 --- a/app/Actions/Server/StartSentinel.php +++ b/app/Actions/Server/StartSentinel.php @@ -27,7 +27,7 @@ class StartSentinel $mountDir = '/data/coolify/sentinel'; $image = config('constants.coolify.registry_url').'/coollabsio/sentinel:'.$version; if (! $endpoint) { - throw new \Exception('You should set FQDN in Instance Settings.'); + throw new \RuntimeException('You should set FQDN in Instance Settings.'); } $environments = [ 'TOKEN' => $token,