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 f72dcec commit 9da17d1Copy full SHA for 9da17d1
lib/sentry/application.ex
@@ -18,7 +18,7 @@ defmodule Sentry.Application do
18
http_client = Keyword.fetch!(config, :client)
19
20
maybe_http_client_spec =
21
- if Code.ensure_loaded?(http_client) and function_exported?(http_client, :child_spec, 0) do
+ if {:module, http_client} == Code.ensure_loaded(http_client) and function_exported?(http_client, :child_spec, 0) do
22
[http_client.child_spec()]
23
else
24
[]
0 commit comments