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 ed5a206 commit d11224cCopy full SHA for d11224c
packages/shared/sdk-client/src/LDClientImpl.ts
@@ -545,8 +545,8 @@ export default class LDClientImpl implements LDClient {
545
}
546
547
const successDetail = createSuccessEvaluationDetail(value, variation, reason);
548
- if (variation === undefined || variation === null) {
549
- this.logger.debug('Result value is null in variation');
+ if (value === undefined || value === null) {
+ this.logger.debug('Result value is null. Providing default value.');
550
successDetail.value = defaultValue;
551
552
this.eventProcessor?.sendEvent(
0 commit comments