diff --git a/spec-main/index.js b/spec-main/index.js index 92c0d18d5ddf..a2a80580b8c8 100644 --- a/spec-main/index.js +++ b/spec-main/index.js @@ -124,4 +124,8 @@ app.whenReady().then(async () => { chai.use(require('dirty-chai')); const runner = mocha.run(cb); +}).catch((err) => { + console.error('An error occurred while running the spec-main spec runner'); + console.error(err); + process.exit(1); });