(scope?: Scope)
| 277 | } |
| 278 | |
| 279 | function getContextForScope(scope?: Scope): Context { |
| 280 | if (scope) { |
| 281 | const ctx = getContextFromScope(scope); |
| 282 | if (ctx) { |
| 283 | return ctx; |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | return context.active(); |
| 288 | } |
| 289 | |
| 290 | /** |
| 291 | * Continue a trace from `sentry-trace` and `baggage` values. |
no test coverage detected