Skip to content

Commit

Permalink
Improve error when preview fails to launch bitcoind (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Jan 16, 2023
1 parent a01aff9 commit 0a133d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/subcommand/preview.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ impl Preview {
.arg("-txindex=1")
.arg("-listen=0")
.arg(format!("-rpcport={rpc_port}"))
.spawn()?,
.spawn()
.context("failed to spawn `bitcoind`")?,
);

let options = Options {
Expand Down

0 comments on commit 0a133d8

Please sign in to comment.