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 5fcc494 commit e5bd2b3Copy full SHA for e5bd2b3
src/database.ts
@@ -874,7 +874,6 @@ class Database extends common.GrpcServiceObject {
874
return;
875
}
876
span.addEvent('Using Session', {'session.id': session?.id});
877
- span.end();
878
callback!(null, transaction, resp!);
879
});
880
@@ -2214,10 +2213,11 @@ class Database extends common.GrpcServiceObject {
2214
2213
'session.id': session?.id,
2215
2216
setSpanError(span, err);
+ span.end();
2217
} else {
2218
2219
2220
2221
cb!(err as grpc.ServiceError | null, transaction);
2222
2223
0 commit comments