You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create an index and then add a document to that index. However, when I run Tirexs.HTTP.put("/my-index-name") it simply returns an atom of :error. I have tried to use put! to discover more, but it returns the following error:
** (FunctionClauseError) no function clause matching in Tirexs.HTTP.ok!/1
(tirexs) lib/tirexs/http.ex:320: Tirexs.HTTP.ok!(:error)
I think I know the problem (it is not connecting to the ES service), but it would be good to see some form of error message to clarify my suspicions. Is there any way that I can do that? If not, I would be happy to take a look at how we could return some information in this error.
The text was updated successfully, but these errors were encountered:
I am trying to create an index and then add a document to that index. However, when I run
Tirexs.HTTP.put("/my-index-name")
it simply returns an atom of:error
. I have tried to useput!
to discover more, but it returns the following error:Running
Tirexs.ENV.default_uri_env
returns:Specs:
Elixir 1.4.1
Erlang/OTP 19
I think I know the problem (it is not connecting to the ES service), but it would be good to see some form of error message to clarify my suspicions. Is there any way that I can do that? If not, I would be happy to take a look at how we could return some information in this error.
The text was updated successfully, but these errors were encountered: