Update startServer JSDoc; surface boot errors via dialog

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-26 10:12:14 -07:00
co-authored by Claude Sonnet 4.6
parent 6fd858347f
commit 98a12e1e3e
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -67,6 +67,9 @@ app.whenReady().then(async () => {
},
onQuit: () => app.quit(),
});
}).catch((err) => {
dialog.showErrorBox('Failed to start', err && err.message ? err.message : String(err));
app.exit(1);
});
app.on('window-all-closed', () => {