Tweak logged messages
This commit is contained in:
parent
7873130019
commit
b85ebb00aa
1 changed files with 1 additions and 2 deletions
3
spec/fixtures/no-proprietary-codecs.js
vendored
3
spec/fixtures/no-proprietary-codecs.js
vendored
|
@ -31,12 +31,11 @@ app.once('ready', () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (message === 'error' && error === MEDIA_ERR_SRC_NOT_SUPPORTED) {
|
if (message === 'error' && error === MEDIA_ERR_SRC_NOT_SUPPORTED) {
|
||||||
console.log('Video format not supported, proprietary codecs are not included')
|
|
||||||
app.exit(0)
|
app.exit(0)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`Unexpected error: ${error}`)
|
console.log(`Unexpected response from page: ${message} ${error}`)
|
||||||
app.exit(1)
|
app.exit(1)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue