diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-11-28 18:14:07 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-11-28 18:14:07 +0100 |
commit | 8872b1671e81eeacf1aea8f46d1dc2cc01535687 (patch) | |
tree | 12169bb1c8edde87797b0b7762c11d1971b27d9d | |
parent | f710a0e7b08b564ab4892e6fac869824d277743f (diff) | |
download | bank-8872b1671e81eeacf1aea8f46d1dc2cc01535687.tar.gz bank-8872b1671e81eeacf1aea8f46d1dc2cc01535687.tar.bz2 bank-8872b1671e81eeacf1aea8f46d1dc2cc01535687.zip |
import
-rw-r--r-- | talerbank/app/middleware.py | 2 | ||||
-rw-r--r-- | talerbank/app/views.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/talerbank/app/middleware.py b/talerbank/app/middleware.py index 21c747f..980b87b 100644 --- a/talerbank/app/middleware.py +++ b/talerbank/app/middleware.py @@ -99,7 +99,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(str(exception)) + LOGGER.error(repr(exception)) if not hasattr(exception, "taler_error_code"): exception = UnhandledException() diff --git a/talerbank/app/views.py b/talerbank/app/views.py index e70fe88..dc5dd4f 100644 --- a/talerbank/app/views.py +++ b/talerbank/app/views.py @@ -51,7 +51,7 @@ import lxml from .schemas import ( HistoryParams, HistoryRangeParams, URLParamValidationError, RejectData, AddIncomingData, JSONFieldException, PinTanParams, InvalidSession, - WithdrawSessionData, WithdrawHeadless + WithdrawSessionData, WithdrawHeadless, WithdrawHeadlessUri ) LOGGER = logging.getLogger(__name__) |