aboutsummaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-24 20:21:54 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-24 20:21:54 +0100
commitdf0237ab94d18806b9cf57c7d4591940bb8a350e (patch)
tree32758b8a3f85b6717e28b9ecec4939c32c36d441 /src/auditor/taler-auditor.c
parent75aec331fb82dc5c49eefc1352df299f4d9e6771 (diff)
support -l/-L options, improve logging
Diffstat (limited to 'src/auditor/taler-auditor.c')
-rw-r--r--src/auditor/taler-auditor.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index 99c62113d..0cc2868f6 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -33,11 +33,6 @@
* verification to improve parallelism / speed -- we'll need to scale
* this eventually anyway!
*
- * KNOWN BUGS:
- * - error handling if denomination keys are used that are not known to the
- * auditor is, eh, awful / non-existent. We just throw the DB's constraint
- * violation back at the user. Great UX.
- *
* UNDECIDED:
* - do we care about checking the 'done' flag in deposit_cb?
*/
@@ -766,7 +761,13 @@ get_denomination_info_by_hash (const struct GNUNET_HashCode *dh,
&add_denomination,
NULL);
if (qs <= 0)
+ {
+ if (0 == qs)
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Denomination %s not found\n",
+ TALER_B2S (dh));
return qs;
+ }
i = GNUNET_CONTAINER_multihashmap_get (denominations,
dh);
if (NULL != i)
@@ -5290,6 +5291,10 @@ run (void *cls,
GNUNET_free (master_public_key_str);
} /* end of -m not given */
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Taler auditor running for exchange master public key %s\n",
+ TALER_B2S (&master_pub));
+
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (cfg,
"taler",