Skip to content

Commit 9da17d1

Browse files
committed
sanity check
1 parent f72dcec commit 9da17d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sentry/application.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ defmodule Sentry.Application do
1818
http_client = Keyword.fetch!(config, :client)
1919

2020
maybe_http_client_spec =
21-
if Code.ensure_loaded?(http_client) and function_exported?(http_client, :child_spec, 0) do
21+
if {:module, http_client} == Code.ensure_loaded(http_client) and function_exported?(http_client, :child_spec, 0) do
2222
[http_client.child_spec()]
2323
else
2424
[]

0 commit comments

Comments
 (0)