Skip to content

Desktop: actually write logs (the Help menu already points at the logs folder) #51

Description

@rebaserHEAD

Help > Troubleshooting > Open Logs Folder opens app.getPath(''logs''), but nothing ever writes there, so troubleshooting reports come back empty. Renderer errors and unhandled rejections currently vanish.

  • Main process: capture its own errors plus renderer console.error/crash events (webContents render-process-gone, unresponsive) to a rotating log file in the logs folder.
  • Renderer: forward window.onerror / unhandledrejection over IPC.
  • Keep it lightweight; this is for bug reports, not telemetry. Nothing leaves the machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions