player.js
player.js copied to clipboard
Event callbacks are catching and ignoring my errors
Expected Behavior
If I make mistakes in my own code (within the event callbacks), I'd expect to see an error in my console.
Actual Behavior
I see no errors because the processData
function is catching & ignoring errors.
Steps to Reproduce
player.on('play', () => {
throw new Error('unseen error');
});