Add todo
This commit is contained in:
parent
8eab164e4e
commit
9299fe51ce
@ -106,6 +106,7 @@ function handleCopyTo (logger) {
|
||||
})
|
||||
.on('end', () => metrics.end(copyToStream.rowCount))
|
||||
.pipe(res)
|
||||
// TODO: I think this error handling is not necessary
|
||||
.on('error', err => {
|
||||
metrics.end(null, err);
|
||||
pgstream.unpipe(res);
|
||||
|
Loading…
Reference in New Issue
Block a user