File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export class DuckPlayerNativeFeature extends ContentFeature {
37
37
38
38
const selectors = this . getFeatureSetting ( 'selectors' ) ;
39
39
if ( ! selectors ) {
40
- console . warn ( 'No selectors found. Check remote config. Feature will not be initialized.' ) ;
40
+ if ( this . isDebug ) console . warn ( 'No selectors found. Check remote config. Feature will not be initialized.' ) ;
41
41
return ;
42
42
}
43
43
@@ -64,7 +64,7 @@ export class DuckPlayerNativeFeature extends ContentFeature {
64
64
try {
65
65
initialSetup = await messages . initialSetup ( ) ;
66
66
} catch ( e ) {
67
- console . warn ( 'Failed to get initial setup' , e ) ;
67
+ if ( this . isDebug ) console . warn ( 'Failed to get initial setup' , e ) ;
68
68
return ;
69
69
}
70
70
@@ -103,7 +103,7 @@ export class DuckPlayerNativeFeature extends ContentFeature {
103
103
break ;
104
104
case 'UNKNOWN' :
105
105
default :
106
- console . warn ( 'No known pageType' ) ;
106
+ logger . warn ( 'No known pageType' ) ;
107
107
}
108
108
109
109
if ( this . currentPage ) {
You can’t perform that action at this time.
0 commit comments