MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / setTagIfDefined

Function setTagIfDefined

src/utils/sentry.ts:202–207  ·  view source on GitHub ↗
(key: string, value: string | undefined)

Source from the content-addressed store, hash-verified

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

Callers 1

applyRuntimeContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected