MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / main_report_client_bootstrap_failure

Function main_report_client_bootstrap_failure

src/main.c:1785–1795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1783}
1784
1785static void main_report_client_bootstrap_failure(cbm_daemon_process_role_t role,
1786 const cbm_daemon_bootstrap_result_t *result) {
1787 const char *message = (result && result->message[0])
1788 ? result->message
1789 : "CBM daemon connection failed before the session was "
1790 "established";
1791 char detail[MAIN_CLIENT_FAILURE_DETAIL_CAP];
1792 (void)snprintf(detail, sizeof(detail), "%s%s%s", message,
1793 (result && result->remedy[0]) ? " " : "", result ? result->remedy : "");
1794 main_report_client_failure(role, detail);
1795}
1796
1797/* #2277: a conflict is a legitimate refusal (another build owns the account
1798 * daemon), but it must name that daemon and the way out. known_active is a

Callers 1

mainFunction · 0.85

Calls 1

Tested by

no test coverage detected