mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-04 16:40:36 +01:00
* src/ejabberd_listener.erl: Fix report message of 'undef' error
SVN Revision: 1916
This commit is contained in:
parent
04fde3620d
commit
1650a946f2
@ -1,3 +1,7 @@
|
||||
2009-02-24 Badlop <badlop@process-one.net>
|
||||
|
||||
* src/ejabberd_listener.erl: Fix report message of 'undef' error
|
||||
|
||||
2009-02-23 Christophe Romain <christophe.romain@process-one.net>
|
||||
|
||||
* src/ejabberd_c2s.erl: Do not call mod_caps:clear_caps, this previous
|
||||
|
@ -219,11 +219,11 @@ accept(ListenSocket, Module, Opts) ->
|
||||
start_listener(Port, Module, Opts) ->
|
||||
case start_listener2(Port, Module, Opts) of
|
||||
{ok, _Pid} = R -> R;
|
||||
{error, {{'EXIT', {undef, _}}, _} = Error} ->
|
||||
{error, {{'EXIT', {undef, [{M, _F, _A}|_]}}, _} = Error} ->
|
||||
?ERROR_MSG("Error starting the ejabberd listener: ~p.~n"
|
||||
"It could not be loaded or is not an ejabberd listener.~n"
|
||||
"Error: ~p~n", [Module, Error]),
|
||||
{error, {module_not_available, Module}};
|
||||
{error, {module_not_available, M}};
|
||||
{error, {already_started, Pid}} ->
|
||||
{ok, Pid};
|
||||
{error, Error} ->
|
||||
|
Loading…
Reference in New Issue
Block a user