Github user vladimir-kotikov commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/327#discussion_r42561832 --- Diff: cordova-serve/src/browser.js --- @@ -72,7 +79,10 @@ module.exports = function (opts) { args.push(url); } var command = args.join(' '); - return exec(command); + return exec(command).catch(function (error) { + // Assume any error means that the browser is not installed and display that as a more friendly error. + throw new Error(NOT_INSALLED.replace('%target%', target)); --- End diff -- typo again
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org