refactor(error-handling): remove ray debugging statements from CheckUpdates and shared helper functions to clean up error reporting
This commit is contained in:
@@ -102,7 +102,6 @@ class CheckUpdates
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
ray('Error:', $e->getMessage());
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'osId' => $osId,
|
'osId' => $osId,
|
||||||
|
|||||||
@@ -204,7 +204,6 @@ function get_latest_version_of_coolify(): string
|
|||||||
|
|
||||||
return data_get($versions, 'coolify.v4.version');
|
return data_get($versions, 'coolify.v4.version');
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
ray($e->getMessage());
|
|
||||||
|
|
||||||
return '0.0.0';
|
return '0.0.0';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user