Skip to content

Commit

Permalink
Add a sample panic
Browse files Browse the repository at this point in the history
For code reviewers to test if they'd like, just `cargo run daemon --peer-address 127.0.0.1`; will remove in the next commit
  • Loading branch information
Quantumplation committed Dec 27, 2024
1 parent 5a1c6f0 commit e9bfdf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/amaru/src/bin/amaru/cmd/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ pub struct Args {
}

pub async fn run(args: Args, counter: Counter<u64>) -> miette::Result<()> {
panic!("sample panic for testing");
let config = parse_args(args, counter)?;

let client = Arc::new(Mutex::new(
Expand Down

0 comments on commit e9bfdf5

Please sign in to comment.