[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] 01/02: fix exception logging
From: |
gnunet |
Subject: |
[taler-bank] 01/02: fix exception logging |
Date: |
Sat, 16 Nov 2019 03:11:38 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository bank.
commit 0cec89e017418c75c2924c280461643d5e6a0532
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Nov 16 01:31:34 2019 +0100
fix exception logging
---
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 15fc1e3..a0d8f40 100644
--- a/talerbank/app/middleware.py
+++ b/talerbank/app/middleware.py
@@ -116,7 +116,7 @@ class ExceptionMiddleware:
# @param request Django-specific HTTP request.
# @param exception the exception raised from the bank.
def process_exception(self, request, exception):
- LOGGER.warning("Exception", exception)
+ LOGGER.warning(str(exception))
# See if we manage this exception. Return None if not.
exc_class = None
for e in self.excs:
--
To stop receiving notification emails like this one, please contact
address@hidden.