diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-11-16 01:31:34 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-11-16 01:31:34 +0100 |
commit | 0cec89e017418c75c2924c280461643d5e6a0532 (patch) | |
tree | a43b5fee668dd840cec702ad88cdbc36d4bda414 | |
parent | bcb36f8d13b800db16f03637b0663bcfaee7e380 (diff) | |
download | bank-0cec89e017418c75c2924c280461643d5e6a0532.tar.gz bank-0cec89e017418c75c2924c280461643d5e6a0532.tar.bz2 bank-0cec89e017418c75c2924c280461643d5e6a0532.zip |
fix exception logging
-rw-r--r-- | talerbank/app/middleware.py | 2 |
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: |