Skip to content

Commit fe2dac5

Browse files
committed
tasks: note what command was ran when launching a task
1 parent ea17286 commit fe2dac5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

devenv-tasks/src/task_state.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,9 @@ impl TaskState {
234234
.prepare_command(cmd, outputs)
235235
.wrap_err("Failed to prepare task command")?;
236236

237-
let result = command.spawn();
237+
let result = command
238+
.spawn()
239+
.wrap_err_with(|| format!("Failed to spawn command for {}", cmd));
238240

239241
let mut child = match result {
240242
Ok(c) => c,

0 commit comments

Comments
 (0)