mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-03-04 00:29:22 +00:00
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…
x
Reference in New Issue
Block a user