mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
This commit is contained in:
parent
041cef0ef2
commit
09135510e8
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ export function createLocalBrowserDriverApi(log, url, browser) {
|
|||
});
|
||||
|
||||
proc.on('exit', (code) => {
|
||||
if (!api.isStopped() || code > 0) {
|
||||
if (!api.isStopped() && code > 0) {
|
||||
api.emit('error', new Error(driverName + ` exited with code ${code}`));
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue