summaryrefslogtreecommitdiff
path: root/talermerchantdemos/httpcommon/__init__.py
diff options
context:
space:
mode:
authorMS <ms@taler.net>2021-05-12 10:24:53 +0200
committerMS <ms@taler.net>2021-05-12 10:24:53 +0200
commit7541de2109fc1cc5189cbb24bfc26b0cc83bd7c0 (patch)
tree018b5f0656c33badd2b827ef98f9629565f0121a /talermerchantdemos/httpcommon/__init__.py
parentde4b5b1b6e49e1d2d16f47bc3e47b85e63610648 (diff)
downloadtaler-merchant-demos-7541de2109fc1cc5189cbb24bfc26b0cc83bd7c0.tar.gz
taler-merchant-demos-7541de2109fc1cc5189cbb24bfc26b0cc83bd7c0.tar.bz2
taler-merchant-demos-7541de2109fc1cc5189cbb24bfc26b0cc83bd7c0.zip
debug decorator
Diffstat (limited to 'talermerchantdemos/httpcommon/__init__.py')
-rw-r--r--talermerchantdemos/httpcommon/__init__.py2
1 files changed, 1 insertions, 1 deletions
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