]> khamidou — GitHub mirrors - electron.git/commitdiff
Print stack traces when starting app failed in addition to a dialog
authorHiroshige Umino <hiroshige88@gmail.com>
Tue, 15 Jul 2014 10:40:14 +0000 (19:40 +0900)
committerHiroshige Umino <hiroshige88@gmail.com>
Tue, 15 Jul 2014 10:42:01 +0000 (19:42 +0900)
atom/browser/default_app/main.js

index 4afe4823ba47ad418d966d3eca14dd02dba76a57..c988a4cae9b25b7965c90b8694d4e91d8888d3b7 100644 (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'],