fixed error logging

This commit is contained in:
Daniel Sommer 2022-05-02 15:34:50 +02:00
parent 9e7b04d4b1
commit 704f7ce516

View file

@ -183,7 +183,7 @@ class StreamBuffer extends EventEmitter {
if (this.streams.output === undefined) {
return;
}
this.streams.output.on('error', () => {
this.streams.output.on('error', (error) => {
logger.error('output stream encountered an error: ' + error);
});
this.streams.output.on('written', (bytes) => {