We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e0e12c commit 4e621a2Copy full SHA for 4e621a2
lib/sentry/logger.ex
@@ -26,7 +26,7 @@ defmodule Sentry.Logger do
26
{kind, exception, stacktrace, module} = get_exception_and_stacktrace(message[:error_info])
27
|> get_initial_call_and_module(message)
28
29
- opts = get_in(message, ~w[dictionary sentry_context]a) || %{}
+ opts = (get_in(message, ~w[dictionary sentry_context]a) || %{})
30
|> Map.take(Sentry.Context.context_keys)
31
|> Map.to_list()
32
|> Keyword.put(:event_source, :logger)
0 commit comments