add errors to error list */
| 644 | |
| 645 | /* add errors to error list */ |
| 646 | void add_errors_to_error_list(struct connecting *connect, const char *error) |
| 647 | { |
| 648 | tal_append_fmt(&connect->errors, |
| 649 | "%s. ", error); |
| 650 | } |
| 651 | |
| 652 | /*~ This is the destructor for the (unsuccessful) outgoing connection. We accumulate |
| 653 | * the errors which occurred, so we can report to lightningd properly in case |
no test coverage detected