Skip to content

Conversation

kamilogorek
Copy link
Contributor

This function has only 1 and 2 arities –

sentry-elixir/lib/sentry.ex

Lines 117 to 128 in ec57fdb

def capture_exception(exception, opts \\ []) do
filter_module = Config.filter()
{source, opts} = Keyword.pop(opts, :event_source)
if filter_module.exclude_exception?(exception, source) do
:excluded
else
exception
|> Event.transform_exception(opts)
|> send_event(opts)
end
end

@mitchellhenke
Copy link
Contributor

Thanks! 💖

@mitchellhenke mitchellhenke merged commit 1a72cdd into getsentry:master Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants