| 1026 | }; |
| 1027 | |
| 1028 | static struct command_result *log_error(struct command *cmd, |
| 1029 | const char *method, |
| 1030 | const char *buf, |
| 1031 | const jsmntok_t *error, |
| 1032 | void *arg UNNEEDED) |
| 1033 | { |
| 1034 | plugin_log(cmd->plugin, LOG_BROKEN, |
| 1035 | "error calling %s: %.*s", |
| 1036 | method, json_tok_full_len(error), |
| 1037 | json_tok_full(buf, error)); |
| 1038 | |
| 1039 | return notification_handled(cmd); |
| 1040 | } |
| 1041 | |
| 1042 | static char *do_account_close_checks(struct command *cmd, |
| 1043 | struct bkpr *bkpr, |
nothing calls this directly
no test coverage detected