log amount involved

This commit is contained in:
Christian Grothoff 2017-07-05 19:09:12 +02:00
parent 1910d6648c
commit e140b418d3
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -603,8 +603,9 @@ deposit_cb (void *cls,
deposit_fee)) deposit_fee))
{ {
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Fatally malformed record at row %llu\n", "Fatally malformed record at row %llu over %s\n",
(unsigned long long) row_id); (unsigned long long) row_id,
TALER_amount2s (amount_with_fee));
return GNUNET_DB_STATUS_HARD_ERROR; return GNUNET_DB_STATUS_HARD_ERROR;
} }
au->row_id = row_id; au->row_id = row_id;
@ -700,8 +701,9 @@ aggregate_cb (void *cls,
deposit_fee)) deposit_fee))
{ {
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Fatally malformed record at %llu\n", "Fatally malformed record at %llu over amount %s\n",
(unsigned long long) row_id); (unsigned long long) row_id,
TALER_amount2s (amount_with_fee));
return GNUNET_DB_STATUS_HARD_ERROR; return GNUNET_DB_STATUS_HARD_ERROR;
} }
/* add to total */ /* add to total */