Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/experiment-browser/src/experimentClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class ExperimentClient implements Client {
this.flags.load();
this.variants.load();
} catch (e) {
console.warn('Failed to load flags and variants from localStorage', e);
// catch localStorage undefined error
}
}

Expand Down Expand Up @@ -329,7 +329,7 @@ export class ExperimentClient implements Client {
try {
void this.variants.store();
} catch (e) {
console.warn('Failed to store variants in localStorage', e);
// catch localStorage undefined error
}
}

Expand Down Expand Up @@ -675,7 +675,7 @@ export class ExperimentClient implements Client {
try {
this.flags.store();
} catch (e) {
console.warn('Failed to store flags in localStorage', e);
// catch localStorage undefined error
}
}

Expand All @@ -698,7 +698,7 @@ export class ExperimentClient implements Client {
try {
this.variants.store();
} catch (e) {
console.warn('Failed to store variants in localStorage', e);
// catch localStorage undefined error
}
this.debug('[Experiment] Stored variants: ', variants);
}
Expand Down