summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvanseverk <vanseverk@gmail.com>2019-09-18 11:24:03 -0700
committervanseverk <vanseverk@gmail.com>2019-09-18 11:24:03 -0700
commitf00a2240a25d80d65040f52556650c9a6f7fdee4 (patch)
treee538531b4756678bae90f70dd29aec30e1ff5b34 /src
parent28e14a0559677f026ba058df294b9fa03afc4902 (diff)
downloadrabbitmq-server-git-f00a2240a25d80d65040f52556650c9a6f7fdee4.tar.gz
Added more helpful message in case the config file failed to generate
Diffstat (limited to 'src')
-rw-r--r--src/rabbit.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index 29cd145330..605805bd8e 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -1040,8 +1040,9 @@ boot_error(_, {error, {cannot_log_to_file, LogFile, Reason}}) ->
[LogFile, Reason]);
boot_error(_, {error, {generate_config_file, Error}}) ->
log_boot_error_and_exit(generate_config_file,
- "~nConfig file generation failed:~n~s~n",
- [Error]);
+ "~nConfig file generation failed:~n~s"
+ "In case a setting of a plugin is unknown, verify the plugin is enabled or remove the setting from the config.~n",
+ [Error]);
boot_error(Class, Reason) ->
LogLocations = log_locations(),
log_boot_error_and_exit(