[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: debug
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: debug |
Date: |
Thu, 11 Feb 2021 00:14:54 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new 66dce81 debug
66dce81 is described below
commit 66dce812063a4e951581439bcb9d6d41c32d9463
Author: ms <ms@taler.net>
AuthorDate: Thu Feb 11 00:14:50 2021 +0100
debug
---
talerbank/app/middleware.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/talerbank/app/middleware.py b/talerbank/app/middleware.py
index ef43625..2264482 100644
--- a/talerbank/app/middleware.py
+++ b/talerbank/app/middleware.py
@@ -97,7 +97,6 @@ class ExceptionMiddleware:
if so. Otherwise, it lets the native handler operate.
"""
LOGGER.error(f"Error: {exception}, while serving
{request.get_full_path()}")
- # LOGGER.error(f"Stack trace: {traceback.format_exc()}")
if hasattr(exception, "taler_error_code"):
render_to = self.render.get(request.path)
@@ -111,6 +110,7 @@ class ExceptionMiddleware:
set_session_hint(request, success=False, hint=exception.hint)
return redirect(render_to)
else:
+ LOGGER.error(f"Stack trace: {traceback.format_exc()}")
return JsonResponse(
dict(
code=ErrorCode.BANK_UNMANAGED_EXCEPTION,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: debug,
gnunet <=