Skip to content

Commit

Permalink
Fix warning by including error in error prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Mar 8, 2024
1 parent 4a1a645 commit f58bb84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ fn send_payment(
let (payment_hash, recipient_onion, route_params) = match pay_params_opt {
Ok(res) => res,
Err(e) => {
println!("Failed to parse invoice");
println!("Failed to parse invoice: {:?}", e);
print!("> ");
return;
}
Expand Down

0 comments on commit f58bb84

Please sign in to comment.