Non-fatal: bcli may not have come up yet — log and retry on the next poll. */
| 295 | |
| 296 | /* Non-fatal: bcli may not have come up yet — log and retry on the next poll. */ |
| 297 | static struct command_result *getchaininfo_failed(struct command *cmd, |
| 298 | const char *method UNUSED, |
| 299 | const char *buf, |
| 300 | const jsmntok_t *result, |
| 301 | void *unused UNUSED) |
| 302 | { |
| 303 | plugin_log(cmd->plugin, LOG_DBG, |
| 304 | "getchaininfo failed (bcli not ready?): %.*s", |
| 305 | json_tok_full_len(result), json_tok_full(buf, result)); |
| 306 | return poll_finished(cmd); |
| 307 | } |
| 308 | |
| 309 | struct command_result *bwatch_poll_chain(struct command *cmd, |
| 310 | void *unused UNUSED) |
nothing calls this directly
no test coverage detected