This commit is contained in:
Amish Shah
2018-01-21 10:31:12 +00:00
parent b2708a6fa8
commit aa09490724

View File

@@ -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();