| 376 | } |
| 377 | |
| 378 | static void subdaemon_malformed_msg(struct subd *sd, const u8 *msg) |
| 379 | { |
| 380 | log_broken(sd->log, "%i: malformed message '%.s'", |
| 381 | fromwire_peektype(msg), |
| 382 | tal_hex(msg, msg)); |
| 383 | |
| 384 | if (sd->ld->dev_subdaemon_fail) |
| 385 | exit(1); |
| 386 | } |
| 387 | |
| 388 | static bool log_status_fail(struct subd *sd, const u8 *msg) |
| 389 | { |
no test coverage detected