(key: string, value: string | undefined)
| 200 | return String(value); |
| 201 | } |
| 202 | function setTagIfDefined(key: string, value: string | undefined): void { |
| 203 | if (!value) { |
| 204 | return; |
| 205 | } |
| 206 | Sentry.setTag(key, value); |
| 207 | } |
| 208 | |
| 209 | function applyRuntimeContext(context: SentryRuntimeContext): void { |
| 210 | setTagIfDefined('runtime.mode', context.mode); |
no outgoing calls
no test coverage detected