gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-merchant-demos] branch master updated: debug decorator


From: gnunet
Subject: [taler-taler-merchant-demos] branch master updated: debug decorator
Date: Wed, 12 May 2021 10:24:58 +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.

The following commit(s) were added to refs/heads/master by this push:
     new 7541de2  debug decorator
7541de2 is described below

commit 7541de2109fc1cc5189cbb24bfc26b0cc83bd7c0
Author: MS <ms@taler.net>
AuthorDate: Wed May 12 10:24:53 2021 +0200

    debug decorator
---
 talermerchantdemos/httpcommon/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/talermerchantdemos/httpcommon/__init__.py 
b/talermerchantdemos/httpcommon/__init__.py
index 76159ed..949621b 100644
--- a/talermerchantdemos/httpcommon/__init__.py
+++ b/talermerchantdemos/httpcommon/__init__.py
@@ -22,7 +22,7 @@ class BackendException(Exception):
 def exception_handler(func):
     def inner(*args, **kwargs):
         try:
-            func(*args, **kwargs)
+            return func(*args, **kwargs)
         except BackendException as err:
             LOGGER.error(err.backend_json)
     return inner

-- 
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]