From 8872b1671e81eeacf1aea8f46d1dc2cc01535687 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 28 Nov 2019 18:14:07 +0100 Subject: import --- talerbank/app/middleware.py | 2 +- 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__) -- cgit v1.2.3