MCPcopy Create free account
hub / github.com/anomalyco/opencode / exportDebugLogs

Function exportDebugLogs

packages/app/src/pages/error.tsx:267–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

265 }
266
267 async function exportDebugLogs() {
268 const exportLogs = platform.exportDebugLogs
269 if (!exportLogs) return
270 await ensureFatalErrorRecorded()
271 .then(() => exportLogs())
272 .then(() => setStore("actionError", undefined))
273 .catch((err) => {
274 setStore("actionError", formatError(err, language.t))
275 })
276 }
277
278 return (
279 <div

Callers

nothing calls this directly

Calls 3

ensureFatalErrorRecordedFunction · 0.85
setStoreFunction · 0.85
formatErrorFunction · 0.70

Tested by

no test coverage detected