fixed error logging
This commit is contained in:
parent
9e7b04d4b1
commit
704f7ce516
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ class StreamBuffer extends EventEmitter {
|
||||||
if (this.streams.output === undefined) {
|
if (this.streams.output === undefined) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.streams.output.on('error', () => {
|
this.streams.output.on('error', (error) => {
|
||||||
logger.error('output stream encountered an error: ' + error);
|
logger.error('output stream encountered an error: ' + error);
|
||||||
});
|
});
|
||||||
this.streams.output.on('written', (bytes) => {
|
this.streams.output.on('written', (bytes) => {
|
||||||
|
|
Loading…
Reference in a new issue