DEV: Log errors from adsense (#189)

This commit is contained in:
David Taylor
2023-11-07 22:44:02 +00:00
committed by GitHub
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);
}
});
},