fix: ignore if dynamic config could not be set

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

No files matched your search

+6 -1
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))) {