From 0f5ef01dd3ef623fb06d3cf9046a18ae818d2570 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 14 Dec 2017 13:36:59 +0100 Subject: nicer error reporting --- src/wire/plugin_wire_test.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/wire') diff --git a/src/wire/plugin_wire_test.c b/src/wire/plugin_wire_test.c index fa6ba3d5a..10efba2e4 100644 --- a/src/wire/plugin_wire_test.c +++ b/src/wire/plugin_wire_test.c @@ -891,9 +891,10 @@ bhist_cb (void *cls, GNUNET_free (whh); break; default: - /* FIXME: consider modifying API to pass more specific error code(s) - back to the application. */ - GNUNET_break (0); + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Bank failed with HTTP status %u (EC: %u)\n", + http_status, + ec); if (NULL != whh->hres_cb) (void) whh->hres_cb (whh->hres_cb_cls, ec, -- cgit v1.2.3