Skip to content

Commit

Permalink
Better error message when bitcoind doesn't start (#3500)
Browse files Browse the repository at this point in the history
  • Loading branch information
twosatsmaxi committed Apr 11, 2024
1 parent 26812e6 commit a1ba5ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/subcommand/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ rpcport={bitcoind_port}
Command::new("bitcoind")
.arg(format!("-conf={}", absolute.join("bitcoin.conf").display()))
.stdout(Stdio::null())
.spawn()?,
.spawn()
.expect("failed to start bitcoind"),
);

loop {
Expand Down

0 comments on commit a1ba5ea

Please sign in to comment.