[ejabberd] error: {case_clause,undefined}

Gaurav Jain monkeyfdude at gmail.com
Sun Mar 1 12:44:08 MSK 2015


It seemed to have moved forward if I use

   IQDisc = gen_mod:get_opt(iqdisc, Opt, fun gen_iq_handler:check_type/1,
                             one_queue),

instead of

    IQDisc = gen_mod:get_opt(iqdisc, Opt, one_queue),



Would you be able to give pointers on this please?


Best Regards,







On Sun, Mar 1, 2015 at 1:25 AM, Gaurav Jain <monkeyfdude at gmail.com> wrote:

> While adding a custom iq_handler, I get the following error:
>
> I tried following Badlops' answer at
>
> https://www.ejabberd.im/node/5035
>
> I use git trunk.
>
> options: []
>  error: {case_clause,undefined}
>
> [{gen_iq_handler,add_iq_handler,6,[{file,"src/gen_iq_handler.erl"},{line,64}]},
>  {mod_iqtest,start,2,[{file,"mod_iqtest.erl"},{line,16}]},
>  {gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,82}]},
>  {lists,foreach,2,[{file,"lists.erl"},{line,1336}]},
>  {ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,67}]},
>  {application_master,start_it_old,4,
>                      [{file,"application_master.erl"},{line,272}]}]
> 2015-03-01 01:17:48.596 [critical] <0.37.0>@gen_mod:start_module:95
> ejabberd initialization was aborted because a module start failed.
>
>
> Please help me resolve this issue.
>
>
>
> Best Regards,
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20150301/d2b97858/attachment.html>


More information about the ejabberd mailing list