Update startServer JSDoc; surface boot errors via dialog
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user