fix: ignore if dynamic config could not be set

This commit is contained in:
Andras Bacsai
2023-12-12 13:20:26 +01:00
parent 29e750f0b2
commit dfc353ce54
4 changed files with 9 additions and 4 deletions

View File

@@ -35,7 +35,12 @@ class Init extends Command
}
$this->cleanup_in_progress_application_deployments();
$this->cleanup_stucked_helper_containers();
setup_dynamic_configuration();
try {
setup_dynamic_configuration();
} catch (\Throwable $e) {
echo "Could not setup dynamic configuration: {$e->getMessage()}\n";
}
$settings = InstanceSettings::get();
if (!is_null(env('AUTOUPDATE', null))) {