mirror of
https://github.com/plausible/analytics.git
synced 2024-11-27 09:16:25 +03:00
Filter out noisy exception from Sentry (#2058)
Signed-off-by: Manu S Ajith <neo@codingarena.in>
This commit is contained in:
parent
972ba2482b
commit
ca15b605b7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user