MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / logStartupFailure

Function logStartupFailure

apps/kimi-code/src/main.ts:216–223  ·  view source on GitHub ↗
(operation: string, error: unknown)

Source from the content-addressed store, hash-verified

214main();
215
216async function logStartupFailure(operation: string, error: unknown): Promise<void> {
217 log.error('startup failed', { operation, error });
218 try {
219 await flushDiagnosticLogs();
220 } catch {
221 // Best-effort diagnostic flush only.
222 }
223}

Callers 1

mainFunction · 0.85

Calls 2

flushDiagnosticLogsFunction · 0.85
errorMethod · 0.65

Tested by

no test coverage detected