Skip to content

Instantly share code, notes, and snippets.

@alco
Last active August 29, 2015 14:02
Show Gist options
  • Save alco/9dd38c0edec358b04880 to your computer and use it in GitHub Desktop.
Save alco/9dd38c0edec358b04880 to your computer and use it in GitHub Desktop.
=ERROR REPORT==== 4-Jun-2014::17:08:31 ===
** Generic server <0.93.0> terminating
** Last message in was {'$gen_cast',{data,<<">end< one\n>end< two\n">>}}
** When Server state == {state,nil,[],{<0.92.0>,#Ref<0.0.0.1449>}}
** Reason for termination ==
** {bad_cast,{data,<<">end< one\n>end< two\n">>}}
marking agent as done
1) test spawn streams (PorcelainTest.SimpleTest)
test/simple_test.exs:129
** (EXIT from #PID<0.92.0>) bad cast: {:data, ">end< one\n>end< two\n"}
=ERROR REPORT==== 4-Jun-2014::17:09:12 ===
** Generic server <0.93.0> terminating
** Last message in was {'$gen_cast',done}
** When Server state == {state,nil,[],{<0.92.0>,#Ref<0.0.0.1450>}}
** Reason for termination ==
** {function_clause,
[{'Elixir.Porcelain.Driver.Simple.StreamServer',handle_cast,
[done,{state,nil,[],{<0.92.0>,#Ref<0.0.0.1450>}}],
[{file,"lib/porcelain/simple_driver.ex"},{line,38}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,599}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
1) test spawn streams (PorcelainTest.SimpleTest)
test/simple_test.exs:129
** (EXIT from #PID<0.92.0>) an exception was raised:
** (FunctionClauseError) no function clause matching in Porcelain.Driver.Simple.StreamServer.handle_cast/2
(porcelain) lib/porcelain/simple_driver.ex:38: Porcelain.Driver.Simple.StreamServer.handle_cast(:done, {:state, nil, [], {#PID<0.92.0>, #Reference<0.0.0.1450>}})
(stdlib) gen_server.erl:599: :gen_server.handle_msg/5
(stdlib) proc_lib.erl:239: :proc_lib.init_p_do_apply/3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment