Skip to content

Commit

Permalink
Convert unreachable to warn
Browse files Browse the repository at this point in the history
  • Loading branch information
RCasatta committed Nov 25, 2024
1 parent 5061387 commit 680eaca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/electrum/discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ impl DiscoveryManager {
entry.remove_entry();
}
} else {
unreachable!("missing expected server, corrupted state");
// FIXME This was an unreachable but it was reached.
log::warn!("missing expected server, corrupted state");
}
}

Expand Down

0 comments on commit 680eaca

Please sign in to comment.