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 086958e commit b3416f1Copy full SHA for b3416f1
packages/core/src/utils/featureFlags.ts
@@ -140,7 +140,7 @@ export function _INTERNAL_addFeatureFlagToActiveSpan(
140
const attributes = spanToJSON(span).data;
141
142
// If the flag already exists, always update it
143
- if (attributes[`${SPAN_FLAG_ATTRIBUTE_PREFIX}${name}`] != null) {
+ if (`${SPAN_FLAG_ATTRIBUTE_PREFIX}${name}` in attributes) {
144
span.setAttribute(`${SPAN_FLAG_ATTRIBUTE_PREFIX}${name}`, value);
145
return;
146
}
0 commit comments