mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-23 19:31:24 +08:00
Print stack traces when starting app failed in addition to a dialog
This commit is contained in:
@@ -34,6 +34,7 @@ if (argv._.length > 0) {
|
||||
} catch(e) {
|
||||
if (e.code == 'MODULE_NOT_FOUND') {
|
||||
app.focus();
|
||||
console.error(e.stack);
|
||||
dialog.showMessageBox({
|
||||
type: 'warning',
|
||||
buttons: ['OK'],
|
||||
|
||||
Reference in New Issue
Block a user