Print stack traces when starting app failed in addition to a dialog

This commit is contained in:
Hiroshige Umino 2014-07-15 19:40:14 +09:00
parent 66ab127389
commit 6bfa69ceda

View file

@ -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'],