File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
packages/remote-config/src Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -91,11 +91,9 @@ export class Experiment {
9191 if ( analytics ) {
9292 analytics . setUserProperties ( { properties : customProperty } ) ;
9393 } else {
94- // TODO: Update warning message
95- this . logger . warn ( `Analytics is not imported correctly` ) ;
94+ this . logger . warn ( `Analytics import failed` ) ;
9695 }
9796 } catch ( error ) {
98- // TODO: Update error message
9997 throw ERROR_FACTORY . create ( ErrorCode . ANALYTICS_UNAVAILABLE , {
10098 originalErrorMessage : ( error as Error ) ?. message
10199 } ) ;
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ const ERROR_DESCRIPTION_MAP: { readonly [key in ErrorCode]: string } = {
8787 [ ErrorCode . CONFIG_UPDATE_NOT_FETCHED ] :
8888 'Unable to fetch the latest config: {$originalErrorMessage}' ,
8989 [ ErrorCode . ANALYTICS_UNAVAILABLE ] :
90- 'Connection to firebase analytics failed: {$originalErrorMessage}'
90+ 'Connection to Firebase Analytics failed: {$originalErrorMessage}'
9191} ;
9292
9393// Note this is effectively a type system binding a code to params. This approach overlaps with the
You can’t perform that action at this time.
0 commit comments