summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-09-26 10:29:43 +0200
committerChristian Grothoff <christian@grothoff.org>2019-09-26 10:29:43 +0200
commit14c7e45e9729fafcc82bf35a9ed4d3f009cfad56 (patch)
tree60e6da9d23fcd0dc552391b8dcaa22288b9095de
parent3b3daa75a8b1675b37413ff3f9707bef6483addd (diff)
downloadexchange-14c7e45e9729fafcc82bf35a9ed4d3f009cfad56.tar.gz
exchange-14c7e45e9729fafcc82bf35a9ed4d3f009cfad56.tar.bz2
exchange-14c7e45e9729fafcc82bf35a9ed4d3f009cfad56.zip
nicer message in -r error case
-rw-r--r--src/auditor/taler-auditor-exchange.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/auditor/taler-auditor-exchange.c b/src/auditor/taler-auditor-exchange.c
index 15cad00f..0020a5b0 100644
--- a/src/auditor/taler-auditor-exchange.c
+++ b/src/auditor/taler-auditor-exchange.c
@@ -198,6 +198,10 @@ main (int argc,
if (0 == qs)
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ (remove_flag)
+ ?
+ "Could not remove exchange from auditor database: entry already absent\n"
+ :
"Could not add exchange to auditor database: entry already existed\n");
TALER_AUDITORDB_plugin_unload (adb);
return 4;