summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-11-28 18:14:07 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-11-28 18:14:07 +0100
commit8872b1671e81eeacf1aea8f46d1dc2cc01535687 (patch)
tree12169bb1c8edde87797b0b7762c11d1971b27d9d
parentf710a0e7b08b564ab4892e6fac869824d277743f (diff)
downloadbank-8872b1671e81eeacf1aea8f46d1dc2cc01535687.tar.gz
bank-8872b1671e81eeacf1aea8f46d1dc2cc01535687.tar.bz2
bank-8872b1671e81eeacf1aea8f46d1dc2cc01535687.zip
import
-rw-r--r--talerbank/app/middleware.py2
-rw-r--r--talerbank/app/views.py2
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__)