From ca15b605b7f00ea2f4815d46a48100bf6641111e Mon Sep 17 00:00:00 2001 From: Manu S Ajith Date: Thu, 28 Jul 2022 07:17:47 -0500 Subject: [PATCH] Filter out noisy exception from Sentry (#2058) Signed-off-by: Manu S Ajith --- lib/sentry_filter.ex | 1 + 1 file changed, 1 insertion(+) 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)