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

Function log_error

plugins/bkpr/bookkeeper.c:1004–1016  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1002};
1003
1004static struct command_result *log_error(struct command *cmd,
1005 const char *method,
1006 const char *buf,
1007 const jsmntok_t *error,
1008 void *arg UNNEEDED)
1009{
1010 plugin_log(cmd->plugin, LOG_BROKEN,
1011 "error calling %s: %.*s",
1012 method, json_tok_full_len(error),
1013 json_tok_full(buf, error));
1014
1015 return notification_handled(cmd);
1016}
1017
1018static char *do_account_close_checks(struct command *cmd,
1019 struct bkpr *bkpr,

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected