From 02436a8e6d896a4162bce66dca48bf6aee4659dd Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 17 Jan 2019 07:05:50 +1030 Subject: [PATCH] libplugin: mention error field in error message. Reported-by: @cdecker Signed-off-by: Rusty Russell --- plugins/libplugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/libplugin.c b/plugins/libplugin.c index a696a67b1..c1edd49df 100644 --- a/plugins/libplugin.c +++ b/plugins/libplugin.c @@ -300,7 +300,7 @@ static const jsmntok_t *read_rpc_reply(const tal_t *ctx, *contents = json_get_member(membuf_elems(&rpc->mb), toks, "result"); if (!*contents) - plugin_err("JSON reply with no 'result'? '%.*s'", + plugin_err("JSON reply with no 'result' nor 'error'? '%.*s'", *reqlen, membuf_elems(&rpc->mb)); *error = false; }