player.js icon indicating copy to clipboard operation
player.js copied to clipboard

Event callbacks are catching and ignoring my errors

Open ffxsam opened this issue 3 years ago • 1 comments

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');
});

ffxsam avatar Mar 23 '21 02:03 ffxsam