[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: cli, fix facade creation
From: |
gnunet |
Subject: |
[libeufin] branch master updated: cli, fix facade creation |
Date: |
Fri, 13 Nov 2020 17:30:01 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 269992a cli, fix facade creation
269992a is described below
commit 269992a13b3c254a7283877eb8910324944706ca
Author: MS <ms@taler.net>
AuthorDate: Fri Nov 13 17:29:56 2020 +0100
cli, fix facade creation
---
cli/libeufin-cli | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/cli/libeufin-cli b/cli/libeufin-cli
index 945451f..b388263 100755
--- a/cli/libeufin-cli
+++ b/cli/libeufin-cli
@@ -315,20 +315,21 @@ def new_facade(obj, facade_name, connection_name,
account_name):
try:
resp = post(
url,
- auth=auth.HTTPBasicAuth(obj.username, obj.password,
+ auth=auth.HTTPBasicAuth(obj.username, obj.password),
json=dict(
- name=facade_name,
- type="taler-wire-gateway",
- creator=obj.username,
- config=dict(
- bankAccount=account_name,
- bankConnection=connection_name,
- reserveTransferLevel="UNUSED",
- intervalIncremental="UNUSED"
+ name=facade_name,
+ type="taler-wire-gateway",
+ creator=obj.username,
+ config=dict(
+ bankAccount=account_name,
+ bankConnection=connection_name,
+ reserveTransferLevel="UNUSED",
+ intervalIncremental="UNUSED"
+ )
)
- )))
- except Exception:
- print("Could not reach sandbox")
+ )
+ except Exception as e:
+ print(f"Could not reach nexus (at {obj.nexus_base_url}): {e}")
exit(1)
print(resp.content.decode("utf-8"))
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: cli, fix facade creation,
gnunet <=