mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
whoops
This commit is contained in:
@@ -75,7 +75,7 @@ class StreamDispatcher extends Writable {
|
|||||||
* @event StreamDispatcher#error
|
* @event StreamDispatcher#error
|
||||||
*/
|
*/
|
||||||
if (type && err) {
|
if (type && err) {
|
||||||
err.message = `${type} stream: `;
|
err.message = `${type} stream: ${err.message}`;
|
||||||
this.emit('error', err);
|
this.emit('error', err);
|
||||||
}
|
}
|
||||||
this.destroy();
|
this.destroy();
|
||||||
|
|||||||
Reference in New Issue
Block a user