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