summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-wirewatch.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-04-04 17:01:59 +0200
committerChristian Grothoff <christian@grothoff.org>2018-04-04 17:01:59 +0200
commit081ffe994a6d39cbd332eefe6f58f8015154e4cb (patch)
tree79272a55aa825135a836a22999b8cde44c212be8 /src/exchange/taler-exchange-wirewatch.c
parent1731f5dc77422e3b87294616c3f94b055803a622 (diff)
downloadexchange-081ffe994a6d39cbd332eefe6f58f8015154e4cb.tar.gz
exchange-081ffe994a6d39cbd332eefe6f58f8015154e4cb.tar.bz2
exchange-081ffe994a6d39cbd332eefe6f58f8015154e4cb.zip
expand logging of HARD errors in DB reserve inserts
Diffstat (limited to 'src/exchange/taler-exchange-wirewatch.c')
-rw-r--r--src/exchange/taler-exchange-wirewatch.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c
index e0985366d..f650690de 100644
--- a/src/exchange/taler-exchange-wirewatch.c
+++ b/src/exchange/taler-exchange-wirewatch.c
@@ -292,8 +292,8 @@ history_cb (void *cls,
struct TALER_ReservePublicKeyP reserve_pub;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Got history callback, direction %u!\n", (unsigned int) dir);
-
+ "Got history callback, direction %u!\n",
+ (unsigned int) dir);
if (TALER_BANK_DIRECTION_NONE == dir)
{
hh = NULL;
@@ -308,6 +308,7 @@ history_cb (void *cls,
"End of list. Committing progress!\n");
qs = db_plugin->commit (db_plugin->cls,
session);
+ GNUNET_break (0 <= qs);
if ( (GNUNET_YES == delay) &&
(test_mode) )
{