Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed May 22, 2024
1 parent 8e5c238 commit 923f5ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions iroh/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ mod tests {
docs_store.flush().unwrap();
drop(docs_store);
let iroh = Node::persistent(iroh_root).await.unwrap().spawn().await;
dbg!(&iroh);
assert!(iroh.is_err());
tokio::fs::remove_file(IrohPaths::DefaultAuthor.with_root(iroh_root))
.await
Expand Down
1 change: 1 addition & 0 deletions iroh/src/node/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ where
match self.spawn_inner().await {
Ok(node) => Ok(node),
Err(err) => {
debug!("failed to spawn node, shutting down blobs store");
blobs_store.shutdown().await;
Err(err)
}
Expand Down

0 comments on commit 923f5ac

Please sign in to comment.