Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

refactor(error-handling): remove ray debugging statements from CheckUpdates and shared helper functions to clean up error reporting

Andras Bacsai852b2688d950
diff --git a/app/Actions/Server/CheckUpdates.php b/app/Actions/Server/CheckUpdates.php
index a8b1be11d9..6823dfb922 100644
--- a/app/Actions/Server/CheckUpdates.php
+++ b/app/Actions/Server/CheckUpdates.php
@@ -102,7 +102,6 @@ class CheckUpdates
];
}
} catch (\Throwable $e) {
- ray('Error:', $e->getMessage());
return [
'osId' => $osId,
diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php
index e01f4d58b0..9c30282b4e 100644
--- a/bootstrap/helpers/shared.php
+++ b/bootstrap/helpers/shared.php
@@ -204,7 +204,6 @@ function get_latest_version_of_coolify(): string
return data_get($versions, 'coolify.v4.version');
} catch (\Throwable $e) {
- ray($e->getMessage());
return '0.0.0';
}