add errors to error list */
| 936 | |
| 937 | /* add errors to error list */ |
| 938 | void add_errors_to_error_list(struct connecting *connect, const char *error) |
| 939 | { |
| 940 | tal_append_fmt(&connect->errors, |
| 941 | "%s. ", error); |
| 942 | } |
| 943 | |
| 944 | /*~ This is the destructor for the (unsuccessful) outgoing connection. We accumulate |
| 945 | * the errors which occurred, so we can report to lightningd properly in case |
no test coverage detected