mirror of
https://github.com/plausible/analytics.git
synced 2024-11-23 20:13:31 +03:00
6fbb0a24a8
Stops recursive error logging to sentry
7 lines
194 B
Elixir
7 lines
194 B
Elixir
defmodule Plausible.SentryFilter do
|
|
@behaviour Sentry.EventFilter
|
|
|
|
def exclude_exception?(%Sentry.CrashError{}, _source), do: true
|
|
def exclude_exception?(exception, source), do: false
|
|
end
|