mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +00:00
whoops
This commit is contained in:
parent
b2708a6fa8
commit
aa09490724
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue