From f58bb8471fcd2be32afbf95ccefee6d4538ae6e5 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Fri, 8 Mar 2024 14:35:19 +0100 Subject: [PATCH] Fix warning by including error in error prompt --- src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }