[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant-frontends] branch master updated: Check HTT
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant-frontends] branch master updated: Check HTTP status code. |
Date: |
Wed, 01 Mar 2017 22:27:41 +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 98335d8 Check HTTP status code.
98335d8 is described below
commit 98335d803a31e012846999a46321d99544d93291
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Mar 1 22:27:31 2017 +0100
Check HTTP status code.
---
talerfrontends/donations/donations.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/talerfrontends/donations/donations.py
b/talerfrontends/donations/donations.py
index 25e7c34..ac7d2ba 100644
--- a/talerfrontends/donations/donations.py
+++ b/talerfrontends/donations/donations.py
@@ -200,7 +200,7 @@ def track_order():
url = urljoin(BACKEND_URL, 'track/transaction')
r = requests.get(url, params=dict(order_id=order_id, instance=instance))
- if r.status_code not in [200, 202, 424]:
+ if r.status_code not in [200, 202, 424, 404]:
logger.error("failed to GET to '%s'", url)
raise BackendError(r.status_code, r.text)
if 202 == r.status_code:
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant-frontends] branch master updated: Check HTTP status code.,
gnunet <=