Merge pull request #2822 from siffash/patch-1

Catch error for auto open Google Chrome with AppleScript
This commit is contained in:
Jim LAURIE 2019-02-13 19:56:49 +01:00 committed by GitHub
commit 5f48dbfbe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,8 +82,7 @@ function startBrowserProcess(browser, url) {
});
return true;
} catch (err) {
console.log(err);
// Ignore errors.
strapi.log.error('Failed to open Google Chrome with AppleScript');
}
}
@ -154,4 +153,4 @@ async function openBrowser() {
}
}
module.exports = openBrowser;
module.exports = openBrowser;