]> granicus.if.org Git - ejabberd/commitdiff
Improve log message when showing lines of config file.
authorBadlop <badlop@process-one.net>
Wed, 30 Dec 2009 01:36:07 +0000 (01:36 +0000)
committerBadlop <badlop@process-one.net>
Wed, 30 Dec 2009 01:36:07 +0000 (01:36 +0000)
SVN Revision: 2850

src/ejabberd_config.erl

index 15f147133e7c2ed72fcd0ee2a562219673ffb888..b51e9b38fffc73c62f29f84ed538081c3228c30b 100644 (file)
@@ -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) ->