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 a1eb1f6 commit 9d19647Copy full SHA for 9d19647
lib/sentry/logger_backend.ex
@@ -37,7 +37,7 @@ defmodule Sentry.LoggerBackend do
37
38
Sentry.capture_exception(reason, opts)
39
40
- reason when is_atom(reason) ->
+ reason when is_atom(reason) and not is_nil(reason) ->
41
Sentry.capture_exception(reason, event_source: :logger)
42
43
_ ->
0 commit comments