File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ export class Feedback implements Integration {
185
185
186
186
this . _widget = this . _createWidget ( this . options ) ;
187
187
} catch ( err ) {
188
- logger . error ( err ) ;
188
+ __DEBUG_BUILD__ && logger . error ( err ) ;
189
189
}
190
190
}
191
191
@@ -201,7 +201,7 @@ export class Feedback implements Integration {
201
201
typeof el === 'string' ? doc . querySelector ( el ) : typeof el . addEventListener === 'function' ? el : null ;
202
202
203
203
if ( ! targetEl ) {
204
- logger . error ( '[Feedback] Unable to attach to target element' ) ;
204
+ __DEBUG_BUILD__ && logger . error ( '[Feedback] Unable to attach to target element' ) ;
205
205
return null ;
206
206
}
207
207
@@ -210,7 +210,7 @@ export class Feedback implements Integration {
210
210
return widget ;
211
211
} ) ;
212
212
} catch ( err ) {
213
- logger . error ( err ) ;
213
+ __DEBUG_BUILD__ && logger . error ( err ) ;
214
214
return null ;
215
215
}
216
216
}
@@ -222,7 +222,7 @@ export class Feedback implements Integration {
222
222
try {
223
223
return this . _createWidget ( mergeOptions ( this . options , optionOverrides ) ) ;
224
224
} catch ( err ) {
225
- logger . error ( err ) ;
225
+ __DEBUG_BUILD__ && logger . error ( err ) ;
226
226
return null ;
227
227
}
228
228
}
@@ -243,7 +243,7 @@ export class Feedback implements Integration {
243
243
return true ;
244
244
}
245
245
} catch ( err ) {
246
- logger . error ( err ) ;
246
+ __DEBUG_BUILD__ && logger . error ( err ) ;
247
247
}
248
248
249
249
return false ;
You can’t perform that action at this time.
0 commit comments