jshint
This commit is contained in:
parent
c0ea5be5d3
commit
735033faee
@ -126,7 +126,7 @@ function handleCopyFrom (logger) {
|
|||||||
})
|
})
|
||||||
.pipe(isGzip ? zlib.createGunzip() : new PassThrough())
|
.pipe(isGzip ? zlib.createGunzip() : new PassThrough())
|
||||||
.on('error', err => {
|
.on('error', err => {
|
||||||
err.message = `Error while gunzipping: ${err.message}`
|
err.message = `Error while gunzipping: ${err.message}`;
|
||||||
metrics.end(null, err);
|
metrics.end(null, err);
|
||||||
pgstream.emit('error', err);
|
pgstream.emit('error', err);
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user