Skip to content

Commit 5a62695

Browse files
committed
fix: improve error handling in AdSlots component by logging ad loading errors
1 parent 29a6499 commit 5a62695

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)