Skip to content

Commit

Permalink
GH-702: bug fixed; log setting lower than Debug shouldn't kill the No…
Browse files Browse the repository at this point in the history
…de anymore out here (#285)

Co-authored-by: Bert <[email protected]>
  • Loading branch information
bertllll and Bert authored May 17, 2023
1 parent 2c78856 commit 907fe68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions node/src/neighborhood/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -542,11 +542,10 @@ impl Neighborhood {
};
match route_result {
Ok(response) => {
let msg_str = debug_msg_opt.expect("Debug Message wasn't built but expected.");
debug!(
self.logger,
"Processed {} into {}-hop response",
msg_str,
debug_msg_opt.expect("Debug msg unprepared but expected"),
response.route.hops.len(),
);
Some(response)
Expand Down

0 comments on commit 907fe68

Please sign in to comment.