Skip to content

Commit c79f2d2

Browse files
committed
Forward err
1 parent 04b427e commit c79f2d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ where
168168
.stdout(Stdio::from(stdout_file))
169169
.stderr(Stdio::from(stderr_file))
170170
.spawn()
171-
.context(format!("Failed to spawn {kind} process"))
171+
.map_err(|e| anyhow!("Failed to spawn {kind} process: {e}"))
172172
.map(SpawnOutput::Child)
173173
}
174174

0 commit comments

Comments
 (0)