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 c04d54a commit f22cd1eCopy full SHA for f22cd1e
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}`]) {
+ if (attributes[`${SPAN_FLAG_ATTRIBUTE_PREFIX}${name}`] != null) {
144
span.setAttribute(`${SPAN_FLAG_ATTRIBUTE_PREFIX}${name}`, value);
145
return;
146
}
0 commit comments