projects
/
ldk-sample
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a1a645
)
Fix warning by including error in error prompt
author
Elias Rohrer
<dev@tnull.de>
Fri, 8 Mar 2024 13:35:19 +0000
(14:35 +0100)
committer
Elias Rohrer
<dev@tnull.de>
Fri, 8 Mar 2024 13:35:19 +0000
(14:35 +0100)
src/cli.rs
patch
|
blob
|
history
diff --git
a/src/cli.rs
b/src/cli.rs
index b9fbf77bb7314b7e19e2d6b6c0177f31c868b944..04c5898fc4d8d483c817b005590840b0cf59287c 100644
(file)
--- 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;
}