| 1002 | }; |
| 1003 | |
| 1004 | static 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 | |
| 1018 | static char *do_account_close_checks(struct command *cmd, |
| 1019 | struct bkpr *bkpr, |
nothing calls this directly
no test coverage detected