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: error mgm


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant-frontends] branch master updated: error mgmt
Date: Thu, 22 Jun 2017 14:50:42 +0200

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 0f25b1c  error mgmt
0f25b1c is described below

commit 0f25b1c5c1d8a3a47332c5640d4c077732afc2ce
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Jun 22 14:50:53 2017 +0200

    error mgmt
---
 talerfrontends/blog/blog.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/talerfrontends/blog/blog.py b/talerfrontends/blog/blog.py
index 9d88a41..a268995 100644
--- a/talerfrontends/blog/blog.py
+++ b/talerfrontends/blog/blog.py
@@ -191,6 +191,8 @@ def history():
     qs = get_query_string().decode("utf-8")
     url = urljoin(BACKEND_URL, "history")
     r = requests.get(url, params=dict(parse_qsl(qs)))
+    if 200 != r.status_code:
+        return backend_error(r)
     return flask.jsonify(r.json()), r.status_code
 
 

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



reply via email to

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