diff options
author | Badlop <badlop@process-one.net> | 2011-01-12 21:22:43 +0100 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2011-01-12 21:22:43 +0100 |
commit | 0edda6150bdf0882d452458f7a5f18f9df8ae17c (patch) | |
tree | a8764a0c9f428eaf83926caced84d03d7c30bc90 | |
parent | Use route instead of send_element to go through standard workflow Offline mes... (diff) |
Clarify error message when BOSH query is sent to non-running module
-rw-r--r-- | src/web/ejabberd_http_bind.erl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl index bcc3be054..6244bf12f 100644 --- a/src/web/ejabberd_http_bind.erl +++ b/src/web/ejabberd_http_bind.erl @@ -1236,6 +1236,11 @@ check_default_xmlns(El) -> check_bind_module(XmppDomain) -> case gen_mod:is_loaded(XmppDomain, mod_http_bind) of true -> ok; - false -> ?ERROR_MSG("You are trying to use BOSH (HTTP Bind), but the module mod_http_bind is not started.~n" - "Check your 'modules' section in your ejabberd configuration file.",[]) + false -> ?ERROR_MSG("You are trying to use BOSH (HTTP Bind) in host ~p," + " but the module mod_http_bind is not started in" + " that host. Configure your BOSH client to connect" + " to the correct host, or add your desired host to" + " the configuration, or check your 'modules'" + " section in your ejabberd configuration file.", + [XmppDomain]) end. |