feat (Cli): Display reason for failed cancel-refund operation to the user (#1668)

We now display the reason for a failed cancel-refund operation to the user.

Fixes #683
This commit is contained in:
patrini32 2024-07-01 21:14:44 +00:00 committed by GitHub
parent 23a27680a4
commit 173d077751
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 224 additions and 61 deletions

View file

@ -821,6 +821,7 @@ impl Request {
.await
.map_err(|err| {
method_span.in_scope(|| {
// The {:?} formatter is used to print the entire error chain
tracing::debug!(err = format!("{:?}", err), "API call resulted in an error");
});
err