[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] 05/05: logging
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] 05/05: logging |
Date: |
Fri, 13 Jan 2017 14:59:52 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository bank.
commit 632f19633098f163265e48be891c036fb976eb8e
Author: Florian Dold <address@hidden>
AuthorDate: Tue Jan 10 19:12:31 2017 +0100
logging
---
talerbank/app/views.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 16f335b..50e3771 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -330,6 +330,7 @@ def create_reserve_at_exchange(request, amount,
exchange_url, exchange_account_n
BankAccount.objects.get(account_no=exchange_account_no)
except BankAccount.DoesNotExist:
raise HttpResponseBadRequest("The bank account #{} of exchange {} does
not exist".format(exchange_account_no, exchange_url))
+ logging.info("asking exchange {} to create reserve
{}".format(exchange_url, reserve_pub))
json_body = dict(
reserve_pub=reserve_pub,
execution_date="/Date(" + str(int(time.time())) + ")/",
--
To stop receiving notification emails like this one, please contact
address@hidden