summaryrefslogtreecommitdiff
path: root/src/exchange-tools/taler-auditor-offline.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-06-24 13:17:28 +0200
committerChristian Grothoff <christian@grothoff.org>2021-06-24 13:17:28 +0200
commit5d6ec4c7443e1a69766fa7cf507dbcfe096d52a8 (patch)
tree1b671609e9803a730e391b05efa0fa3057b37c1d /src/exchange-tools/taler-auditor-offline.c
parentf078421db8ccce3241b740ff7e74bc86ea248094 (diff)
downloadexchange-5d6ec4c7443e1a69766fa7cf507dbcfe096d52a8.tar.gz
exchange-5d6ec4c7443e1a69766fa7cf507dbcfe096d52a8.tar.bz2
exchange-5d6ec4c7443e1a69766fa7cf507dbcfe096d52a8.zip
improve logging
Diffstat (limited to 'src/exchange-tools/taler-auditor-offline.c')
-rw-r--r--src/exchange-tools/taler-auditor-offline.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/exchange-tools/taler-auditor-offline.c b/src/exchange-tools/taler-auditor-offline.c
index 81e2bfeb7..7b6d0a893 100644
--- a/src/exchange-tools/taler-auditor-offline.c
+++ b/src/exchange-tools/taler-auditor-offline.c
@@ -395,11 +395,13 @@ denomination_add_cb (
if (MHD_HTTP_NO_CONTENT != hr->http_status)
{
fprintf (stderr,
- "Upload failed for command %u with status %u: %s (%s)\n",
+ "Upload failed for command #%u with status %u: %s (%s)\n",
(unsigned int) dar->idx,
hr->http_status,
TALER_ErrorCode_get_hint (hr->ec),
- hr->hint);
+ NULL != hr->hint
+ ? hr->hint
+ : "no hint provided");
global_ret = 42;
}
GNUNET_CONTAINER_DLL_remove (dar_head,