diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2019-09-18 23:41:36 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2019-09-18 23:41:36 +0300 |
| commit | 3d507c20433b59d47a8455bd603466941eb1e516 (patch) | |
| tree | 47157d66f6036c34605c19d561d275692418a658 /src | |
| parent | 28e14a0559677f026ba058df294b9fa03afc4902 (diff) | |
| parent | a1c0638d9e578a38fc52a1c4ab2b60b6498106d4 (diff) | |
| download | rabbitmq-server-git-3d507c20433b59d47a8455bd603466941eb1e516.tar.gz | |
Merge branch 'vanseverk-issues/2085-Friendlier-behavior-when-configuration-setting-is-unknown-clearer-error-message'
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index 29cd145330..7095966ced 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -1040,8 +1040,10 @@ 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 the setting comes from a plugin, make sure that the plugin is enabled.~n" + "Alternatively remove the setting from the config.~n", + [Error]); boot_error(Class, Reason) -> LogLocations = log_locations(), log_boot_error_and_exit( |
