Skip to content

Commit 4e621a2

Browse files
committed
fix bad parentheses
1 parent 4e0e12c commit 4e621a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sentry/logger.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ defmodule Sentry.Logger do
2626
{kind, exception, stacktrace, module} = get_exception_and_stacktrace(message[:error_info])
2727
|> get_initial_call_and_module(message)
2828

29-
opts = get_in(message, ~w[dictionary sentry_context]a) || %{}
29+
opts = (get_in(message, ~w[dictionary sentry_context]a) || %{})
3030
|> Map.take(Sentry.Context.context_keys)
3131
|> Map.to_list()
3232
|> Keyword.put(:event_source, :logger)

0 commit comments

Comments
 (0)