projects
/
ldk-sample
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warning by including error in error prompt
[ldk-sample]
/
src
/
cli.rs
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;
}