Skip to content

Commit f58bb84

Browse files
committed
Fix warning by including error in error prompt
1 parent 4a1a645 commit f58bb84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ fn send_payment(
818818
let (payment_hash, recipient_onion, route_params) = match pay_params_opt {
819819
Ok(res) => res,
820820
Err(e) => {
821-
println!("Failed to parse invoice");
821+
println!("Failed to parse invoice: {:?}", e);
822822
print!("> ");
823823
return;
824824
}

0 commit comments

Comments
 (0)