From 97356294acbe01a8b17486dff42ecc76726edf0a Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 16 Jun 2021 15:06:52 +0200 Subject: Make sure error is printed outside of progress bars Signed-off-by: Matthias Beyer --- src/orchestrator/orchestrator.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/orchestrator/orchestrator.rs') diff --git a/src/orchestrator/orchestrator.rs b/src/orchestrator/orchestrator.rs index dd1322d..0044fb1 100644 --- a/src/orchestrator/orchestrator.rs +++ b/src/orchestrator/orchestrator.rs @@ -542,6 +542,7 @@ impl<'a> JobTask<'a> { // // We only send to one parent, because it doesn't matter // And we know that we have at least one sender + log::error!("[{}]: Received errors = {:?}", self.jobdef.job.uuid(), received_errors); self.sender[0].send(Err(received_errors)).await; // ... and stop operation, because the whole tree will fail anyways. -- cgit v1.2.3