Do not log Sentry.CrashError to Sentry
Stops recursive error logging to sentrypull/2012/head
parent
37dddb62d9
commit
6fbb0a24a8
@ -0,0 +1,6 @@
|
||||
defmodule Plausible.SentryFilter do
|
||||
@behaviour Sentry.EventFilter
|
||||
|
||||
def exclude_exception?(%Sentry.CrashError{}, _source), do: true
|
||||
def exclude_exception?(exception, source), do: false
|
||||
end
|
||||
Loading…
Reference in New Issue