Browse Source

Add pythpn version to debug message

tags/v0.3.1-rc5
haixuanTao 2 years ago
parent
commit
4462d99eb4
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      binaries/daemon/src/spawn.rs

+ 3
- 2
binaries/daemon/src/spawn.rs View File

@@ -133,9 +133,10 @@ pub async fn spawn_node(
.spawn()
.wrap_err_with(move || {
format!(
"failed to run `{}` with args `{}`",
"failed to run `{}` with args `{}`. If this was run with python, the python used was: {:?}",
n.source,
n.args.as_deref().unwrap_or_default()
n.args.as_deref().unwrap_or_default(),
get_python_path().unwrap_or_default()
)
})?
}


Loading…
Cancel
Save