Fix warning by including error in error prompt
authorElias Rohrer <dev@tnull.de>
Fri, 8 Mar 2024 13:35:19 +0000 (14:35 +0100)
committerElias Rohrer <dev@tnull.de>
Fri, 8 Mar 2024 13:35:19 +0000 (14:35 +0100)
src/cli.rs

index b9fbf77bb7314b7e19e2d6b6c0177f31c868b944..04c5898fc4d8d483c817b005590840b0cf59287c 100644 (file)
@@ -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;
                }