Skip to content

Commit be87f7f

Browse files
committed
Add some debug logging for bitcoind
1 parent f831e18 commit be87f7f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

orange-sdk/tests/test_utils.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ fn create_bitcoind(uuid: Uuid) -> Bitcoind {
6565
conf.args.push("-txindex");
6666
conf.args.push("-rpcworkqueue=100");
6767
conf.staticdir = Some(temp_dir().join(format!("orange-test-{uuid}/bitcoind")));
68-
let bitcoind = Bitcoind::with_conf(corepc_node::downloaded_exe_path().unwrap(), &conf).unwrap();
68+
let bitcoind = Bitcoind::with_conf(corepc_node::downloaded_exe_path().unwrap(), &conf)
69+
.expect(&format!("Failed to start bitcoind for test {uuid}"));
6970

7071
// Wait for bitcoind to be ready before returning
7172
wait_for_bitcoind_ready(&bitcoind);

0 commit comments

Comments
 (0)