aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex S <alex.strizhakov@gmail.com>2019-08-14 14:38:13 +0300
committerAriadne Conill <ariadne@dereferenced.org>2019-08-18 22:34:14 +0000
commit2ca6d54437f326756f659bd52a658625a022e24a (patch)
tree6ac7b60fe8d5ff47e949d89c7843ea0c51c7f265
parentd04da53ad68701a8a8ecc9b2d05949f1c07e5fa7 (diff)
downloadpleroma-2ca6d54437f326756f659bd52a658625a022e24a.tar.gz
some debug
-rw-r--r--lib/pleroma/http/http.ex4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pleroma/http/http.ex b/lib/pleroma/http/http.ex
index 3ad891d11..a6c325017 100644
--- a/lib/pleroma/http/http.ex
+++ b/lib/pleroma/http/http.ex
@@ -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