File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
packages/core/src/tracing Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -250,8 +250,6 @@ function createChildSpanOrTransaction({
250
250
traceId,
251
251
parentSpanId,
252
252
parentSampled : sampled ,
253
- // TODO: We should probably only set this if we know we are continuing a trace
254
- // For now, there isn't really a way to know this from in here, though...
255
253
...spanContext ,
256
254
} ) ;
257
255
@@ -260,13 +258,6 @@ function createChildSpanOrTransaction({
260
258
}
261
259
}
262
260
263
- // TODO v8: Technically `startTransaction` can return undefined, which is not reflected by the types
264
- // This happens if tracing extensions have not been added
265
- // In this case, we just want to return a non-recording span
266
- if ( ! span ) {
267
- return new SentryNonRecordingSpan ( ) ;
268
- }
269
-
270
261
setCapturedScopesOnSpan ( span , scope , isolationScope ) ;
271
262
272
263
return span ;
You can’t perform that action at this time.
0 commit comments