summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--talerbank/app/middleware.py2
1 files changed, 1 insertions, 1 deletions
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: