summaryrefslogtreecommitdiffstats
path: root/src/orchestrator/orchestrator.rs
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-02-03 10:23:06 +0100
committerMatthias Beyer <matthias.beyer@atos.net>2021-02-03 10:23:06 +0100
commit453207c11c5dfe1a7916b04035666f423bdcc3d8 (patch)
treea4b6c9d44af9482dfa0346ffc1a5bea7a5ed521c /src/orchestrator/orchestrator.rs
parent06cc296ec34c5fcb86828aa72a4c9068e7fe6e77 (diff)
Fix: Format UUIDs of missing job results to be human-readable before constructing error object
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/orchestrator/orchestrator.rs')
-rw-r--r--src/orchestrator/orchestrator.rs3
1 files changed, 2 insertions, 1 deletions
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<String> = 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)