]> khamidou — GitHub mirrors - electron.git/commitdiff
Don't print error to console in default_app
authorCheng Zhao <zcbenz@gmail.com>
Wed, 5 Nov 2014 11:08:09 +0000 (19:08 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 5 Nov 2014 11:08:09 +0000 (19:08 +0800)
atom/browser/default_app/main.js

index d42fb2edc643df19087b669dbffd20b2909063ac..8f6e38740312212d340d6f7a71ca3d45bfada860 100644 (file)
@@ -48,7 +48,6 @@ if (option.file && !option.webdriver) {
   } catch(e) {
     if (e.code == 'MODULE_NOT_FOUND') {
       app.focus();
-      console.error(e.stack);
       dialog.showErrorBox('Error opening app', 'The app provided is not a valid atom-shell app, please read the docs on how to write one:\nhttps://github.com/atom/atom-shell/tree/master/docs');
       process.exit(1);
     } else {