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 efabae5 commit 3ad8cc2Copy full SHA for 3ad8cc2
packages/opentelemetry/src/spanExporter.ts
@@ -126,14 +126,14 @@ export class SentrySpanExporter {
126
127
/** Try to flush any pending spans immediately. */
128
public flush(): void {
129
-const finishedSpans: ReadableSpan[] = [];
130
-for (const bucket of this._finishedSpanBuckets) {
131
- if (bucket) {
132
- for (const span of bucket.spans) {
133
- finishedSpans.push(span);
+ const finishedSpans: ReadableSpan[] = [];
+ for (const bucket of this._finishedSpanBuckets) {
+ if (bucket) {
+ for (const span of bucket.spans) {
+ finishedSpans.push(span);
134
+ }
135
136
}
- }
-}
137
138
this._flushSentSpanCache();
139
const sentSpans = this._maybeSend(finishedSpans);
0 commit comments