diff --git a/src/Player.js b/src/Player.js index 9868a55..6ae6bc4 100644 --- a/src/Player.js +++ b/src/Player.js @@ -1120,6 +1120,8 @@ class Player extends EventEmitter { }) } + newStream.on('error', (error) => this.emit('error', error, queue.firstMessage)) + setTimeout(() => { if (queue.stream) queue.stream.destroy() queue.stream = newStream