Don't print error to console in default_app

This commit is contained in:
Cheng Zhao 2014-11-05 19:08:09 +08:00
parent b54caccb22
commit 2be5393768

View 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 {