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 43bd3c5 commit c17417dCopy full SHA for c17417d
flagsmith-core.ts
@@ -836,11 +836,11 @@ const Flagsmith = class {
836
if (this.enableAnalytics) {
837
const events = JSON.stringify(this.getState().evaluationEvent);
838
AsyncStorage!.setItem(FlagsmithEvent, events)
839
- .catch((e) => this.log("Exception setting item in async storage", e));
+ .catch((e) => console.error("Flagsmith: Error setting item in async storage", e));
840
}
841
842
843
- private evaluateFlag = (key: string, method: 'VALUE' | 'ENABLED') => {
+ private evaluateFlag =(key: string, method: 'VALUE' | 'ENABLED') => {
844
if (this.datadogRum) {
845
if (!this.datadogRum!.client!.addFeatureFlagEvaluation) {
846
console.error('Flagsmith: Your datadog RUM client does not support the function addFeatureFlagEvaluation, please update it.');
0 commit comments