refactor(error-handling): change Exception to RuntimeException for clearer error reporting
This commit is contained in:
parent
2361c34a53
commit
c272a770e2
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ public function handle(Server $server, bool $restart = false, ?string $latestVer
|
|||
$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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue