diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-11-03 20:46:06 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-11-03 20:47:07 +0100 |
commit | ed31f842d6fc892120117b22d9bfcc13745e16bc (patch) | |
tree | 4bdbc8d6dba5ac2c9601c51bc2363c4a8777d6f6 | |
parent | c40a4dcdcf46a0c01c97cf294384088b761d1ddf (diff) | |
download | rebel-ed31f842d6fc892120117b22d9bfcc13745e16bc.tar rebel-ed31f842d6fc892120117b22d9bfcc13745e16bc.zip |
driver: context: clean up error message code
-rw-r--r-- | crates/driver/src/context.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/driver/src/context.rs b/crates/driver/src/context.rs index 9789e31..c3ca79f 100644 --- a/crates/driver/src/context.rs +++ b/crates/driver/src/context.rs @@ -348,7 +348,7 @@ impl Context { let (ctx_id, _) = self .tasks .get_key_value(&id) - .with_context(|| format!("Task {}:{} not found", id.recipe, id.task))?; + .with_context(|| format!("Task {} not found", id))?; let mut args = self.globals.clone(); @@ -369,7 +369,7 @@ impl Context { } self.task_ref(ctx_id, &args) - .with_context(|| format!("Failed to instantiate task {}:{}", id.recipe, id.task)) + .with_context(|| format!("Failed to instantiate task {}", id)) } fn map_args<'ctx, 'args>( |