mirror of
https://github.com/plausible/analytics.git
synced 2024-12-02 07:38:47 +03:00
10 lines
261 B
Elixir
10 lines
261 B
Elixir
defmodule Plausible.SentryFilter do
|
|
@behaviour Sentry.EventFilter
|
|
|
|
def exclude_exception?(%Sentry.CrashError{}, _source), do: true
|
|
|
|
def exclude_exception?(exception, source) do
|
|
Sentry.DefaultEventFilter.exclude_exception?(exception, source)
|
|
end
|
|
end
|