Skip to content

Instantly share code, notes, and snippets.

@Hajto
Last active March 11, 2016 18:49
Show Gist options
  • Save Hajto/7708c384dd4a2e1cb1a0 to your computer and use it in GitHub Desktop.
Save Hajto/7708c384dd4a2e1cb1a0 to your computer and use it in GitHub Desktop.
exited in: GenServer.call(Hound.SessionServer, {:change_session, #PID<0.373.0>, :default, %{}}, 60000)
** (EXIT) an exception was raised:
** (MatchError) no match of right hand side value: {:error, %HTTPoison.Error{id: nil, reason: :timeout}}
(hound) lib/hound/request_utils.ex:43: Hound.RequestUtils.send_req/4
(hound) lib/hound/session_server.ex:67: Hound.SessionServer.handle_call/3
(stdlib) gen_server.erl:629: :gen_server.try_handle_call/4
(stdlib) gen_server.erl:661: :gen_server.handle_msg/5
(stdlib) proc_lib.erl:239: :proc_lib.init_p_do_apply/3
defmodule Ep.SandboxController do
use Ep.Web, :controller
use Hound.Helpers
def index(conn, _params) do
Hound.start_session
navigate_to("https://github.com/HashNuke/hound")
test = page_title()
Hound.end_session()
text conn, test
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment