summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-11-12 16:23:21 +0100
committerMS <ms@taler.net>2020-11-12 16:26:19 +0100
commit35b3bee3887597d3bd99ff885826fb27891d2988 (patch)
treed87189e7aad93dc0105cd56c9d4f5834c8b55469 /cli
parent2d3ac18c5cffe98e2ee462f38254f799a2f6e39f (diff)
downloadlibeufin-35b3bee3887597d3bd99ff885826fb27891d2988.tar.gz
libeufin-35b3bee3887597d3bd99ff885826fb27891d2988.tar.bz2
libeufin-35b3bee3887597d3bd99ff885826fb27891d2988.zip
extend /config API
Diffstat (limited to 'cli')
-rwxr-xr-xcli/libeufin-cli5
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/libeufin-cli b/cli/libeufin-cli
index e8d7ea2d..ab428816 100755
--- a/cli/libeufin-cli
+++ b/cli/libeufin-cli
@@ -187,9 +187,8 @@ def import_bank_account(obj, connection_name, offered_account_id, nexus_bank_acc
),
auth = auth.HTTPBasicAuth(obj.username, obj.password)
)
- except Exception as ee:
- print(ee)
- print("Could not reach nexus at " + url)
+ except Exception as e:
+ print(f"Could not reach nexus at {url}: {e}")
return
print(resp.content.decode("utf-8"))