We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eda55b commit bdb630cCopy full SHA for bdb630c
src/database.ts
@@ -3563,12 +3563,8 @@ class Database extends common.GrpcServiceObject {
3563
mutationGroups,
3564
options
3565
);
3566
- dataStream.once('end', () => span.end());
3567
- dataStream.once('error', err => {
3568
- setSpanError(span, err!);
3569
- span.end();
3570
- });
3571
dataStream.pipe(proxyStream);
+ span.end();
3572
} else {
3573
span.end();
3574
proxyStream.destroy(err);
src/transaction.ts
@@ -465,7 +465,6 @@ export class Snapshot extends EventEmitter {
465
466
this._update(resp);
467
}
468
-
469
470
callback!(err, resp);
471
0 commit comments