diff options
author | Badlop <badlop@process-one.net> | 2009-06-16 17:46:37 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-06-16 17:46:37 +0000 |
commit | 154a0d1c96683e3f4b49cf4bb53d33c510b57e81 (patch) | |
tree | 05ed8b29d73b7081f1f57a437db9cb3b1ccc855b | |
parent | Provide explanation in error message when module is already started for anoth... (diff) |
Do not display error message when starting several hosts (EJAB-571) (thanks to Christohpe Romain)
SVN Revision: 2237
-rw-r--r-- | src/web/mod_http_bind.erl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/web/mod_http_bind.erl b/src/web/mod_http_bind.erl index 1b9338554..2b0bcc6d6 100644 --- a/src/web/mod_http_bind.erl +++ b/src/web/mod_http_bind.erl @@ -3,7 +3,7 @@ %%% Author : Stefan Strigler <steve@zeank.in-berlin.de> %%% Purpose : Implementation of XMPP over BOSH (XEP-0206) %%% Created : Tue Feb 20 13:15:52 CET 2007 -%%% Id : $Id: mod_http_bind.erl 514 2008-03-12 21:54:18Z badlop $ +%%% Id : $Id: mod_http_bind.erl 549 2008-04-02 09:12:44Z cromain $ %%%---------------------------------------------------------------------- %%%---------------------------------------------------------------------- @@ -89,10 +89,8 @@ start(Host, _Opts) -> {ok, _Pid, _Info} -> ok; {error, {already_started, _PidOther}} -> - ErrorText = "mod_http_bind is already started, " - "so it will not be started again for " - ++ Host, - {'EXIT', {start_child_error, ErrorText}}; + % mod_http_bind is already started so it will not be started again + ok; {error, Error} -> {'EXIT', {start_child_error, Error}} end. |