mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
try fix
This commit is contained in:
parent
aa09490724
commit
76891a1e00
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ class StreamDispatcher extends Writable {
|
|||
*/
|
||||
if (type && err) {
|
||||
err.message = `${type} stream: ${err.message}`;
|
||||
this.emit('error', err);
|
||||
this.emit(this.player.dispatcher === this ? 'error' : 'debug', err);
|
||||
}
|
||||
this.destroy();
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue