add errors to error list */
| 992 | |
| 993 | /* add errors to error list */ |
| 994 | void add_errors_to_error_list(struct connecting *connect, const char *error) |
| 995 | { |
| 996 | tal_append_fmt(&connect->errors, |
| 997 | "%s. ", error); |
| 998 | } |
| 999 | |
| 1000 | /*~ This is the destructor for the (unsuccessful) outgoing connection. We accumulate |
| 1001 | * the errors which occurred, so we can report to lightningd properly in case |
no test coverage detected