From 453207c11c5dfe1a7916b04035666f423bdcc3d8 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 3 Feb 2021 10:23:06 +0100 Subject: Fix: Format UUIDs of missing job results to be human-readable before constructing error object Signed-off-by: Matthias Beyer --- src/orchestrator/orchestrator.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/orchestrator/orchestrator.rs') diff --git a/src/orchestrator/orchestrator.rs b/src/orchestrator/orchestrator.rs index de2f82f..93d2d01 100644 --- a/src/orchestrator/orchestrator.rs +++ b/src/orchestrator/orchestrator.rs @@ -534,7 +534,8 @@ impl<'a> JobTask<'a> { // ... if there are any, error if !missing_deps.is_empty() { - return Err(anyhow!("Childs finished, but dependencies still missing: {:?}", missing_deps)) + let missing: Vec = missing_deps.iter().map(|u| u.to_string()).collect(); + return Err(anyhow!("Childs finished, but dependencies still missing: {:?}", missing)) } else { // all dependencies are received Ok(false) -- cgit v1.2.3