We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c79f2d2 commit 342c09dCopy full SHA for 342c09d
src/node.rs
@@ -119,7 +119,7 @@ where
119
120
let kind = config.kind();
121
122
- debug!("Spawning {kind} with config {config:?}");
+ debug!("Spawning {kind} with config {config:?}",);
123
124
let stdout_path = config.log_path();
125
let stdout_file = File::create(&stdout_path).context("Failed to create stdout file")?;
@@ -168,7 +168,12 @@ where
168
.stdout(Stdio::from(stdout_file))
169
.stderr(Stdio::from(stderr_file))
170
.spawn()
171
- .map_err(|e| anyhow!("Failed to spawn {kind} process: {e}"))
+ .map_err(|e| {
172
+ anyhow!(
173
+ "Failed to spawn {kind} at path {} process: {e}",
174
+ citrea.display()
175
+ )
176
+ })
177
.map(SpawnOutput::Child)
178
}
179
0 commit comments