mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-02-17 08:55:05 +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 {
|
try {
|
||||||
adsbygoogle.push({}); // ask AdSense to fill one ad unit
|
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