* Crash-reporting config for the renderer. Null unless this desktop build * shipped with a DSN baked in — the shared web UI only initializes its * error reporting when this returns a config.
()
| 106 | * error reporting when this returns a config. |
| 107 | */ |
| 108 | getCrashReporting(): Promise<{ |
| 109 | readonly dsn: string; |
| 110 | readonly release: string; |
| 111 | readonly environment: string; |
| 112 | readonly runId: string; |
| 113 | } | null> { |
| 114 | return ipcRenderer.invoke("executor:crash-reporting:get"); |
| 115 | }, |
| 116 | } as const; |
| 117 | |
| 118 | contextBridge.exposeInMainWorld("executor", api); |