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 => {
|
||||
metrics.end(null, err);
|
||||
req.unpipe(pgstream);
|
||||
pgstream.end();
|
||||
// pgstream.end();
|
||||
done();
|
||||
|
||||
next(err);
|
||||
|
Loading…
Reference in New Issue
Block a user