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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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);
}
});
},