MCPcopy
hub / github.com/anomalyco/opencode / initCrashReporter

Function initCrashReporter

packages/desktop/src/main/logging.ts:36–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36export function initCrashReporter() {
37 const dir = join(app.getPath("userData"), "Crashpad")
38 mkdirSync(dir, { recursive: true })
39 app.setPath("crashDumps", dir)
40 crashReporter.start({ uploadToServer: false, compress: true })
41 write("crash", "crash reporter started", { path: dir })
42}
43
44export async function startNetLog() {
45 if (netLog.currentlyLogging) return

Callers 1

index.tsFile · 0.90

Calls 3

joinFunction · 0.85
writeFunction · 0.70
startMethod · 0.45

Tested by

no test coverage detected