diff options
author | Badlop <badlop@process-one.net> | 2009-12-30 01:36:07 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-12-30 01:36:07 +0000 |
commit | 15a27c0566e9f8b3069a43b03d959c425795f632 (patch) | |
tree | e2fcca44676c26cb84d7c68167a6afbb3c61ef71 | |
parent | Kick occupants with reason when room is stopped due to MUC shutdown (EJAB-1149) (diff) |
Improve log message when showing lines of config file.
SVN Revision: 2850
-rw-r--r-- | src/ejabberd_config.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ejabberd_config.erl b/src/ejabberd_config.erl index 15f147133..b51e9b38f 100644 --- a/src/ejabberd_config.erl +++ b/src/ejabberd_config.erl @@ -184,7 +184,8 @@ describe_config_problem(Filename, Reason, LineNumber) -> ++ file:format_error(Reason)), ExitText = Text1 ++ Text2, Lines = get_config_lines(Filename, LineNumber, 10, 3), - ?ERROR_MSG("Extract from config file: ~n~s", [Lines]), + ?ERROR_MSG("The following lines from your configuration file might be" + " relevant to the error: ~n~s", [Lines]), ExitText. get_config_lines(Filename, TargetNumber, PreContext, PostContext) -> |