Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [info] POST /api/v2/logaction
- [debug] Processing with Cms4Web.LogactionController.create/2
- Parameters: %{"beh" => "11", "userid" => "22", "uuid" => "33"}
- Pipelines: [:api]
- [info] Converted error {:badfun, %Phoenix.ActionClauseError{args: [%Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{}, before_send: [#Function<1.112466771/1 in Plug.Logger.call/2>, #Function<0.89070732/1 in Phoenix.LiveReloader.before_send_inject_reloader/2>], body_params: %{"beh" => "11", "userid" => "22", "uuid" => "33"}, cookies: %Plug.Conn.Unfetched{aspect: :cookies}, halted: false, host: "192.168.1.85", method: "POST", owner: #PID<0.500.0>, params: %{"beh" => "11", "userid" => "22", "uuid" => "33"}, path_info: ["api", "v2", "logaction"], path_params: %{}, port: 4000, private: %{Cms4Web.Router => {[], %{}}, :phoenix_action => :create, :phoenix_controller => Cms4Web.LogactionController, :phoenix_endpoint => Cms4Web.Endpoint, :phoenix_format => "json", :phoenix_layout => {Cms4Web.LayoutView, :app}, :phoenix_pipelines => [:api], :phoenix_router => Cms4Web.Router, :phoenix_view => Cms4Web.LogactionView, :plug_session_fetch => #Function<1.58261320/1 in Plug.Session.fetch_session/1>}, query_params: %{}, query_string: "", remote_ip: {192, 168, 1, 85}, req_cookies: %Plug.Conn.Unfetched{aspect: :cookies}, req_headers: [{"accept-encoding", "gzip"}, {"connection", "Keep-Alive"}, {"content-length", "38"}, {"content-type", "application/json; charset=UTF-8"}, {"host", "192.168.1.85:4000"}, {"user-agent", "okhttp/3.12.0"}], request_path: "/api/v2/logaction", resp_body: nil, resp_cookies: %{}, resp_headers: [{"cache-control", "max-age=0, private, must-revalidate"}, {"x-request-id", "2m79mlitmpt6vpm7ls0000a1"}], scheme: :http, script_name: [], secret_key_base: :..., state: :unset, status: nil}, %{"beh" => "11", "userid" => "22", "uuid" => "33"}], arity: 2, clauses: nil, function: :create, kind: nil, module: Cms4Web.LogactionController}} to 500 response
- [error] #PID<0.500.0> running Cms4Web.Endpoint (connection #PID<0.499.0>, stream id 1) terminated
- Server: 192.168.1.85:4000 (http)
- Request: POST /api/v2/logaction
- ** (exit) an exception was raised:
- ** (BadFunctionError) expected a function, got: %Phoenix.ActionClauseError{args: [%Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{}, before_send: [#Function<1.112466771/1 in Plug.Logger.call/2>, #Function<0.89070732/1 in Phoenix.LiveReloader.before_send_inject_reloader/2>], body_params: %{"beh" => "11", "userid" => "22", "uuid" => "33"}, cookies: %Plug.Conn.Unfetched{aspect: :cookies}, halted: false, host: "192.168.1.85", method: "POST", owner: #PID<0.500.0>, params: %{"beh" => "11", "userid" => "22", "uuid" => "33"}, path_info: ["api", "v2", "logaction"], path_params: %{}, port: 4000, private: %{Cms4Web.Router => {[], %{}}, :phoenix_action => :create, :phoenix_controller => Cms4Web.LogactionController, :phoenix_endpoint => Cms4Web.Endpoint, :phoenix_format => "json", :phoenix_layout => {Cms4Web.LayoutView, :app}, :phoenix_pipelines => [:api], :phoenix_router => Cms4Web.Router, :phoenix_view => Cms4Web.LogactionView, :plug_session_fetch => #Function<1.58261320/1 in Plug.Session.fetch_session/1>}, query_params: %{}, query_string: "", remote_ip: {192, 168, 1, 85}, req_cookies: %Plug.Conn.Unfetched{aspect: :cookies}, req_headers: [{"accept-encoding", "gzip"}, {"connection", "Keep-Alive"}, {"content-length", "38"}, {"content-type", "application/json; charset=UTF-8"}, {"host", "192.168.1.85:4000"}, {"user-agent", "okhttp/3.12.0"}], request_path: "/api/v2/logaction", resp_body: nil, resp_cookies: %{}, resp_headers: [{"cache-control", "max-age=0, private, must-revalidate"}, {"x-request-id", "2m79mlitmpt6vpm7ls0000a1"}], scheme: :http, script_name: [], secret_key_base: :..., state: :unset, status: nil}, %{"beh" => "11", "userid" => "22", "uuid" => "33"}], arity: 2, clauses: nil, function: :create, kind: nil, module: Cms4Web.LogactionController}
- (elixir) lib/exception.ex:1105: anonymous fn/2 in FunctionClauseError.blame/3
- (elixir) lib/enum.ex:1327: Enum."-map/2-lists^map/1-0-"/2
- (elixir) lib/exception.ex:1104: FunctionClauseError.blame/3
- (phoenix) lib/phoenix/exceptions.ex:59: Phoenix.ActionClauseError.blame/2
- (plug) lib/plug/debugger.ex:197: Plug.Debugger.render/6
- (plug) lib/plug/debugger.ex:147: Plug.Debugger.__catch__/5
- (cms4) lib/cms4_web/endpoint.ex:1: Cms4Web.Endpoint.call/2
- (phoenix) lib/phoenix/endpoint/cowboy2_handler.ex:33: Phoenix.Endpoint.Cowboy2Handler.init/2
- (cowboy) /home/cat/DEV/elixir/cms4/deps/cowboy/src/cowboy_handler.erl:41: :cowboy_handler.execute/2
- (cowboy) /home/cat/DEV/elixir/cms4/deps/cowboy/src/cowboy_stream_h.erl:296: :cowboy_stream_h.execute/3
- (cowboy) /home/cat/DEV/elixir/cms4/deps/cowboy/src/cowboy_stream_h.erl:274: :cowboy_stream_h.request_process/3
- (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
- [info] Replied phoenix:live_reload :ok
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement