DEV: Log errors from adsense (#189)
This commit is contained in:
parent
c88bb59d81
commit
789be84744
|
@ -152,7 +152,10 @@ export default AdComponent.extend({
|
|||
|
||||
try {
|
||||
adsbygoogle.push({}); // ask AdSense to fill one ad unit
|
||||
} catch (ex) {}
|
||||
} catch (ex) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.error("Adsense error:", ex);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue