diff --git a/lib/sentry_filter.ex b/lib/sentry_filter.ex index cf9a762f0..96210129f 100644 --- a/lib/sentry_filter.ex +++ b/lib/sentry_filter.ex @@ -2,6 +2,7 @@ defmodule Plausible.SentryFilter do @behaviour Sentry.EventFilter def exclude_exception?(%Sentry.CrashError{}, _source), do: true + def exclude_exception?(%Phoenix.NotAcceptableError{}, _), do: true def exclude_exception?(exception, source) do Sentry.DefaultEventFilter.exclude_exception?(exception, source)