Skip to content

Commit

Permalink
add error context
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Oct 8, 2024
1 parent e654369 commit 9f48bbf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/katana/src/cli/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ impl NodeArgs {
let starknet_config = self.starknet_config()?;

// Build the node
let node = katana_node::build(server_config, sequencer_config, starknet_config).await?;
let node = katana_node::build(server_config, sequencer_config, starknet_config)
.await
.context("failed to build node")?;

Check warning on line 231 in bin/katana/src/cli/node.rs

View check run for this annotation

Codecov / codecov/patch

bin/katana/src/cli/node.rs#L229-L231

Added lines #L229 - L231 were not covered by tests

if !self.silent {
#[allow(deprecated)]
Expand Down

0 comments on commit 9f48bbf

Please sign in to comment.