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 {
3737
3838 const selectors = this.getFeatureSetting('selectors');
3939 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.');
4141 return;
4242 }
4343
@@ -64,7 +64,7 @@ export class DuckPlayerNativeFeature extends ContentFeature {
6464 try {
6565 initialSetup = await messages.initialSetup();
6666 } catch (e) {
67- console.warn('Failed to get initial setup', e);
67+ if (this.isDebug) console.warn('Failed to get initial setup', e);
6868 return;
6969 }
7070
@@ -103,7 +103,7 @@ export class DuckPlayerNativeFeature extends ContentFeature {
103103 break;
104104 case 'UNKNOWN':
105105 default:
106- console .warn('No known pageType');
106+ logger .warn('No known pageType');
107107 }
108108
109109 if (this.currentPage) {
You can’t perform that action at this time.
0 commit comments