Reputation: 21
I have created an iq handler. When calling it, it prints me this error
{function_clause,[{jlib,iq_to_xml,[ok]},
{gen_iq_handler,process_iq,6},
{gen_iq_handler,handle_info,2},
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}
Upvotes: 1
Views: 515
Reputation: 2593
You should return #iq{}
record instead of ok
atom from your iq handler. Let us see your code to be more specific.
Upvotes: 1