aboutsummaryrefslogtreecommitdiff
path: root/src/wire
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-12-14 13:36:59 +0100
committerChristian Grothoff <christian@grothoff.org>2017-12-14 13:36:59 +0100
commit0f5ef01dd3ef623fb06d3cf9046a18ae818d2570 (patch)
treed7572ede51e75d4c820a1a2357c4d93c883e0e36 /src/wire
parent22eae129a9e5934d3fadf11cb4b4c6724c9d1aa8 (diff)
nicer error reporting
Diffstat (limited to 'src/wire')
-rw-r--r--src/wire/plugin_wire_test.c7
1 files changed, 4 insertions, 3 deletions
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,