File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/experiment-browser/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ export class ExperimentClient implements Client {
153153 this . flags . load ( ) ;
154154 this . variants . load ( ) ;
155155 } catch ( e ) {
156- console . warn ( 'Failed to load flags and variants from localStorage' , e ) ;
156+ // catch localStorage undefined error
157157 }
158158 }
159159
@@ -329,7 +329,7 @@ export class ExperimentClient implements Client {
329329 try {
330330 void this . variants . store ( ) ;
331331 } catch ( e ) {
332- console . warn ( 'Failed to store variants in localStorage' , e ) ;
332+ // catch localStorage undefined error
333333 }
334334 }
335335
@@ -675,7 +675,7 @@ export class ExperimentClient implements Client {
675675 try {
676676 this . flags . store ( ) ;
677677 } catch ( e ) {
678- console . warn ( 'Failed to store flags in localStorage' , e ) ;
678+ // catch localStorage undefined error
679679 }
680680 }
681681
@@ -698,7 +698,7 @@ export class ExperimentClient implements Client {
698698 try {
699699 this . variants . store ( ) ;
700700 } catch ( e ) {
701- console . warn ( 'Failed to store variants in localStorage' , e ) ;
701+ // catch localStorage undefined error
702702 }
703703 this . debug ( '[Experiment] Stored variants: ' , variants ) ;
704704 }
You can’t perform that action at this time.
0 commit comments