aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_post_templates.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-12-23 00:08:16 +0800
committerChristian Grothoff <grothoff@gnunet.org>2023-12-23 00:10:29 +0800
commite7a8f953162c2507e3ad609ca4644a0bba08c51a (patch)
treec2ea699f47b74b91e2935933a052cbd5a4f7067a /src/testing/testing_api_cmd_post_templates.c
parentbb45bac2304bd9e8d4a1482641b098af96472f6f (diff)
-nicer logging
Diffstat (limited to 'src/testing/testing_api_cmd_post_templates.c')
-rw-r--r--src/testing/testing_api_cmd_post_templates.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/testing/testing_api_cmd_post_templates.c b/src/testing/testing_api_cmd_post_templates.c
index 8c8cd8ca..0ff0d11a 100644
--- a/src/testing/testing_api_cmd_post_templates.c
+++ b/src/testing/testing_api_cmd_post_templates.c
@@ -92,12 +92,9 @@ post_templates_cb (void *cls,
tis->iph = NULL;
if (tis->http_status != hr->http_status)
{
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Unexpected response code %u (%d) to command %s\n",
- hr->http_status,
- (int) hr->ec,
- TALER_TESTING_interpreter_get_current_label (tis->is));
- TALER_TESTING_interpreter_fail (tis->is);
+ TALER_TESTING_unexpected_status (tis->is,
+ hr->http_status,
+ tis->http_status);
return;
}
switch (hr->http_status)