Call plugin_err */
| 327 | |
| 328 | /* Call plugin_err */ |
| 329 | struct command_result *plugin_broken_cb(struct command *cmd, |
| 330 | const char *method, |
| 331 | const char *buf, |
| 332 | const jsmntok_t *result, |
| 333 | void *arg) |
| 334 | { |
| 335 | plugin_err(cmd->plugin, |
| 336 | "%s failed with %.*s", |
| 337 | method, |
| 338 | json_tok_full_len(result), |
| 339 | json_tok_full(buf, result)); |
| 340 | } |
| 341 | |
| 342 | /* Prefix is usually a cmd->id */ |
| 343 | static const char *json_id(const tal_t *ctx, struct plugin *plugin, |
nothing calls this directly
no test coverage detected