mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 13:25:43 +01:00
plugin: give *some* clue in the logs of getmanifest raises an exception!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
7ca0000869
commit
e3bdc32ee8
@ -810,7 +810,9 @@ static void plugin_manifest_cb(const char *buffer,
|
||||
resulttok = json_get_member(buffer, toks, "result");
|
||||
if (!resulttok || resulttok->type != JSMN_OBJECT) {
|
||||
plugin_kill(plugin,
|
||||
"\"getmanifest\" result is not an object");
|
||||
"\"getmanifest\" result is not an object: %.*s",
|
||||
toks[0].end - toks[0].start,
|
||||
buffer + toks[0].start);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user