MCPcopy Create free account
hub / github.com/ElementsProject/lightning / log_error

Function log_error

plugins/bkpr/bookkeeper.c:854–865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

852}
853
854static struct command_result *log_error(struct command *cmd,
855 const char *buf,
856 const jsmntok_t *error,
857 void *arg UNNEEDED)
858{
859 plugin_log(cmd->plugin, LOG_BROKEN,
860 "error calling rpc: %.*s",
861 json_tok_full_len(error),
862 json_tok_full(buf, error));
863
864 return notification_handled(cmd);
865}
866
867static struct command_result *
868listpeers_multi_done(struct command *cmd,

Callers

nothing calls this directly

Calls 4

notification_handledFunction · 0.85
plugin_logFunction · 0.50
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected