diff --git a/bin/periphery/src/api/compose.rs b/bin/periphery/src/api/compose.rs index 95c262a27..c36ab2ed3 100644 --- a/bin/periphery/src/api/compose.rs +++ b/bin/periphery/src/api/compose.rs @@ -354,7 +354,7 @@ impl Resolve for ComposePull { // Canonicalize the path to ensure it exists, and is the cleanest path to the run directory. let run_directory = run_directory.canonicalize().context( - "Failed to validate run directory on host after stack write (canonicalize error)", + format!("Failed to validate run directory on host after stack write (canonicalize error), path={}", run_directory.to_string_lossy()), )?; let file_paths = stack @@ -468,7 +468,7 @@ impl Resolve for ComposeUp { // Canonicalize the path to ensure it exists, and is the cleanest path to the run directory. let run_directory = run_directory.canonicalize().context( - "Failed to validate run directory on host after stack write (canonicalize error)", + format!("Failed to validate run directory on host after stack write (canonicalize error), path={}", run_directory.to_string_lossy()), )?; validate_files(&stack, &run_directory, &mut res).await; @@ -748,7 +748,7 @@ impl Resolve for ComposeRun { }; let run_directory = run_directory.canonicalize().context( - "Failed to validate run directory on host after stack write (canonicalize error)", + format!("Failed to validate run directory on host after stack write (canonicalize error), path={}", run_directory.to_string_lossy()) )?; maybe_login_registry(&stack, registry_token, &mut Vec::new())