From: Cheng Zhao Date: Wed, 5 Nov 2014 11:08:09 +0000 (+0800) Subject: Don't print error to console in default_app X-Git-Tag: v0.19.2~33^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=2be5393768a3d7e1f548b4ff4e95601284595894;p=electron.git Don't print error to console in default_app --- diff --git a/atom/browser/default_app/main.js b/atom/browser/default_app/main.js index d42fb2ed..8f6e3874 100644 --- a/atom/browser/default_app/main.js +++ b/atom/browser/default_app/main.js @@ -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 {