diff --git a/bin/core/src/stack/remote.rs b/bin/core/src/stack/remote.rs index a6c012f6f..8888cd8f2 100644 --- a/bin/core/src/stack/remote.rs +++ b/bin/core/src/stack/remote.rs @@ -36,6 +36,9 @@ pub async fn get_repo_compose_contents( let run_directory = repo_path.join(&stack.config.run_directory); // This will remove any intermediate '/./' which can be a problem for some OS. let run_directory = run_directory.components().collect::(); + if !run_directory.exists() { + anyhow::bail!("Failed to access stack run directory {stack_path:?}", stack_path = &stack.config.run_directory); + } let mut successful = Vec::new(); let mut errored = Vec::new();