copy from: unneeded pgstream.end in req error
This commit is contained in:
parent
5a28d36d69
commit
d17a5608fb
@ -118,7 +118,7 @@ function handleCopyFrom (logger) {
|
|||||||
.on('error', err => {
|
.on('error', err => {
|
||||||
metrics.end(null, err);
|
metrics.end(null, err);
|
||||||
req.unpipe(pgstream);
|
req.unpipe(pgstream);
|
||||||
pgstream.end();
|
// pgstream.end();
|
||||||
done();
|
done();
|
||||||
|
|
||||||
next(err);
|
next(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user