fix: enhance error handling in initialization and cleanup process

This commit is contained in:
Andras Bacsai
2025-11-10 15:29:26 +01:00
parent 23c165d4d1
commit f1d80d6776
2 changed files with 11 additions and 5 deletions

View File

@@ -86,6 +86,7 @@ class Init extends Command
$this->call('cleanup:stucked-resources');
} catch (\Throwable $e) {
echo "Error in cleanup:stucked-resources command: {$e->getMessage()}\n";
echo "Continuing with initialization - cleanup errors will not prevent Coolify from starting\n";
}
try {
$updatedCount = ApplicationDeploymentQueue::whereIn('status', [