()
| 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 |
nothing calls this directly
no test coverage detected