Skip to content

Commit e541562

Browse files
committed
move unwrap to expect when spawning
1 parent 186f588 commit e541562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/src/utils/execution_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ impl ExecutionContext {
108108
cmd.stdout(stdout.stdio());
109109
cmd.stderr(stderr.stdio());
110110

111-
let child = cmd.spawn().unwrap();
111+
let child = cmd.spawn().expect(format!("running: {command:?}").as_str());
112112

113113
DeferredCommand { process: Some(child), stdout, stderr, command, executed_at }
114114
}

0 commit comments

Comments
 (0)