Skip to content

Commit

Permalink
fix: do not print an error for an expected condition (#15991) (#15999)
Browse files Browse the repository at this point in the history
  • Loading branch information
trop[bot] authored and BinaryMuse committed Dec 10, 2018
1 parent 2046d80 commit f2c1f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/browser/chrome-extension.js
Expand Up @@ -424,7 +424,7 @@ app.once('ready', function () {
}
}
} catch (error) {
if (process.env.ELECTRON_ENABLE_LOGGING) {
if (process.env.ELECTRON_ENABLE_LOGGING && error.code !== 'ENOENT') {
console.error('Failed to load browser extensions from directory:', loadedDevToolsExtensionsPath)
console.error(error)
}
Expand Down

0 comments on commit f2c1f25

Please sign in to comment.