gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant-frontends] branch master updated: Remove Ba


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant-frontends] branch master updated: Remove BackendError leftover
Date: Tue, 21 Feb 2017 15:15:55 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository merchant-frontends.

The following commit(s) were added to refs/heads/master by this push:
     new 6ccb5ad  Remove BackendError leftover
6ccb5ad is described below

commit 6ccb5ad4d0b8657869902d58cc70b72a017f6737
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Feb 21 15:15:56 2017 +0100

    Remove BackendError leftover
---
 talerfrontends/blog/blog.py                | 5 +++--
 talerfrontends/blog/static/web-common      | 2 +-
 talerfrontends/donations/static/web-common | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/talerfrontends/blog/blog.py b/talerfrontends/blog/blog.py
index 4d2142e..dd463e4 100644
--- a/talerfrontends/blog/blog.py
+++ b/talerfrontends/blog/blog.py
@@ -98,7 +98,7 @@ def generate_contract():
     r = requests.post(urljoin(BACKEND_URL, 'proposal'), json=dict(order=order))
     if r.status_code != 200:
         logger.error("failed to POST to '%s'", url)
-        raise BackendError(r.status_code, r.text)
+        return r.text, r.status_code
     proposal_resp = r.json()
     return flask.jsonify(**proposal_resp)
 
@@ -144,7 +144,8 @@ def pay():
 
     r = requests.post(urljoin(BACKEND_URL, 'pay'), json=deposit_permission)
     if 200 != r.status_code:
-        raise BackendError(r.status_code, r.text)
+        return r.text, r.status_code
+
 
     proposal_data = r.json()['proposal_data']
     article_name = proposal_data['extra']['article_name']
diff --git a/talerfrontends/blog/static/web-common 
b/talerfrontends/blog/static/web-common
index 9701ed4..0be9ac9 160000
--- a/talerfrontends/blog/static/web-common
+++ b/talerfrontends/blog/static/web-common
@@ -1 +1 @@
-Subproject commit 9701ed4caa1cb541c1f645b05bfe190975b3e42b
+Subproject commit 0be9ac9264a3bd9f495c37abf1ac864562e8c598
diff --git a/talerfrontends/donations/static/web-common 
b/talerfrontends/donations/static/web-common
index 9701ed4..0be9ac9 160000
--- a/talerfrontends/donations/static/web-common
+++ b/talerfrontends/donations/static/web-common
@@ -1 +1 @@
-Subproject commit 9701ed4caa1cb541c1f645b05bfe190975b3e42b
+Subproject commit 0be9ac9264a3bd9f495c37abf1ac864562e8c598

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]