diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-06-16 15:06:52 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-06-16 15:06:53 +0200 |
commit | 97356294acbe01a8b17486dff42ecc76726edf0a (patch) | |
tree | d521f695962fb353bf30ebc8a0fee5e6056f30ad /src/orchestrator | |
parent | 2ebb3a00aca2eaaea5f182b1f72e21c09fcba6ee (diff) |
Make sure error is printed outside of progress bars
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/orchestrator')
-rw-r--r-- | src/orchestrator/orchestrator.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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. |