MCPcopy Create free account
hub / github.com/ElementsProject/lightning / db_error

Function db_error

tools/lightning-downgrade.c:181–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181static void db_error(void *unused, bool fatal, const char *fmt, va_list ap)
182{
183 vfprintf(stderr, fmt, ap);
184 fprintf(stderr, "\n");
185 if (fatal)
186 exit(ERROR_DBFAIL);
187}
188
189/* The standard opt_log_stderr_exit exits with status 1 */
190static void opt_log_stderr_exit_usage(const char *fmt, ...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected