This commit is contained in:
Amish Shah 2018-01-21 10:31:12 +00:00
parent b2708a6fa8
commit aa09490724
No known key found for this signature in database
GPG key ID: 904349C1207D7967

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