Improve wallet + node API Comms error logging (#2472)

* make wallet+node communication errors more verbose

* rustfmt
This commit is contained in:
Yeastplume
2019-01-25 12:12:50 +00:00
committed by GitHub
parent dd1a24dcbc
commit a97ab376cb
6 changed files with 61 additions and 35 deletions
+3 -1
View File
@@ -365,7 +365,9 @@ where
}
_ => {
error!("unsupported payment method: {}", args.method);
return Err(ErrorKind::ClientCallback("unsupported payment method"))?;
return Err(ErrorKind::ClientCallback(
"unsupported payment method".to_owned(),
))?;
}
}
api.tx_lock_outputs(&slate, lock_fn)?;