Fix branch selection and handle missing service

This commit is contained in:
Andras Bacsai committed 2024-01-24 12:26:14 +01:00
1 parent 744609e7e9
commit 7d754558b0
3 files changed
+6 -3

No files matched your search

+1 -1
View File
@@ -1006,7 +1006,7 @@ class Application extends BaseModel
if (!$composeFileContent) {
$this->docker_compose_location = $initialDockerComposeLocation;
$this->save();
throw new \Exception("Could not load base compose file from $workdir$composeFile");
throw new \RuntimeException("Could not load base compose file from $workdir$composeFile");
} else {
$this->docker_compose_raw = $composeFileContent;
$this->save();