Skip to content

Commit

Permalink
ignore rum error for ad blocker (#1314)
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey800 authored May 7, 2024
1 parent 140b4a6 commit d5673ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .happy/terraform/modules/cloudwatch-alarm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ resource aws_cloudwatch_log_metric_filter frontend_uncaught_error {
"-\"ResizeObserver loop\"",
"-\"Script error\"",
"-\"The request is not allowed by the user agent\"",
# Error from adblocker
"Cannot redefine property: googletag"
])
count = var.metrics_enabled ? 1 : 0

Expand Down

0 comments on commit d5673ea

Please sign in to comment.