Current behavior
Cypress hangs without any indication why when there is an error thrown in before:browser:launch.
Desired behavior
Cypress should not hang. We should get feedback in the launcher that the browser failed to launch.
Test code to reproduce
...
on('before:browser:launch', (browser = {}, launchOptions) => {
launchOptions.x.a = 'y'
})
...
Cypress Version
10.0.0
Debug Logs
Other
No response