Skip to content

Commit

Permalink
chore: add error context to IDLE init
Browse files Browse the repository at this point in the history
  • Loading branch information
sitiom committed Jan 24, 2024
1 parent 5bd152a commit 6901e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async fn idle_and_listen_to_neo_notifs() -> Result<()> {
println!("Starting IDLE");
loop {
let mut idle = session.idle();
idle.init().await?;
idle.init().await.context("Failed to initialize IDLE")?;

let (idle_wait, _interrupt) = idle.wait();
let idle_result = idle_wait.await?;
Expand Down

0 comments on commit 6901e11

Please sign in to comment.