mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
try fix
This commit is contained in:
@@ -76,7 +76,7 @@ class StreamDispatcher extends Writable {
|
|||||||
*/
|
*/
|
||||||
if (type && err) {
|
if (type && err) {
|
||||||
err.message = `${type} stream: ${err.message}`;
|
err.message = `${type} stream: ${err.message}`;
|
||||||
this.emit('error', err);
|
this.emit(this.player.dispatcher === this ? 'error' : 'debug', err);
|
||||||
}
|
}
|
||||||
this.destroy();
|
this.destroy();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user