gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-merchant-demos] 02/02: error handling


From: gnunet
Subject: [taler-taler-merchant-demos] 02/02: error handling
Date: Wed, 12 May 2021 10:10:54 +0200

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

ms pushed a commit to branch master
in repository taler-merchant-demos.

commit de4b5b1b6e49e1d2d16f47bc3e47b85e63610648
Author: MS <ms@taler.net>
AuthorDate: Wed May 12 10:10:48 2021 +0200

    error handling
---
 talermerchantdemos/httpcommon/__init__.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/talermerchantdemos/httpcommon/__init__.py 
b/talermerchantdemos/httpcommon/__init__.py
index 6ff4696..76159ed 100644
--- a/talermerchantdemos/httpcommon/__init__.py
+++ b/talermerchantdemos/httpcommon/__init__.py
@@ -72,6 +72,7 @@ def backend_post(backend_url, endpoint, json, 
auth_token=None):
 # @param params (dict type of) URL parameters to append to the request.
 # @return the JSON response from the backend, or a error response
 #         if something unexpected happens.
+@exception_handler
 def backend_get(backend_url, endpoint, params, auth_token=None):
     headers = dict()
     if auth_token is not None:

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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