some debug

This commit is contained in:
Alex S 2019-08-14 14:38:13 +03:00 committed by Ariadne Conill
parent d04da53ad6
commit 2ca6d54437

View File

@ -41,6 +41,8 @@ defmodule Pleroma.HTTP do
options
end
IO.inspect(options)
params = Keyword.get(options, :params, [])
%{}
@ -62,7 +64,7 @@ defmodule Pleroma.HTTP do
end
defp get_conn_for_gun(url, options) do
case Pleroma.Gun.Connections.get_conn(url) do
case Pleroma.Gun.Connections.try_to_get_gun_conn(url) do
nil ->
options