Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Delegate to default Sentry filter

Uku Taht4a33cd0a259e
diff --git a/lib/sentry_filter.ex b/lib/sentry_filter.ex
index 7c7f7219d7..cf9a762f0b 100644
--- a/lib/sentry_filter.ex
+++ b/lib/sentry_filter.ex
@@ -2,5 +2,8 @@ defmodule Plausible.SentryFilter do
@behaviour Sentry.EventFilter
def exclude_exception?(%Sentry.CrashError{}, _source), do: true
- def exclude_exception?(exception, source), do: false
+
+ def exclude_exception?(exception, source) do
+ Sentry.DefaultEventFilter.exclude_exception?(exception, source)
+ end
end