Skip to content

Commit dd7dded

Browse files
authored
Add error logging for ad loading
Log ad loading errors to the console for debugging.
1 parent ecae6fe commit dd7dded

File tree

1 file changed

+1
-1
lines changed
  • apps/frontend/src/modules/shared/components/client/ads

1 file changed

+1
-1
lines changed

apps/frontend/src/modules/shared/components/client/ads/AdSlots.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const AdTemplate = ({
5959
try {
6060
(window.adsbygoogle = window.adsbygoogle || []).push({});
6161
} catch (e) {
62-
// Silently handle ad loading errors
62+
console.error(e);
6363
}
6464
}
6565
}, []);

0 commit comments

Comments
 (0)