From: Elias Rohrer Date: Fri, 8 Mar 2024 13:35:19 +0000 (+0100) Subject: Fix warning by including error in error prompt X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=f58bb8471fcd2be32afbf95ccefee6d4538ae6e5;p=ldk-sample Fix warning by including error in error prompt --- diff --git a/src/cli.rs b/src/cli.rs index b9fbf77..04c5898 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -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; }