From bc2a161f624897cda6d69ea7848276b43e5b25bc Mon Sep 17 00:00:00 2001 From: LunarMarathon Date: Tue, 25 Oct 2022 16:16:34 +0530 Subject: [PATCH] Change err mess for config --- meilisearch-http/src/option.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch-http/src/option.rs b/meilisearch-http/src/option.rs index e4ad7b8f2..f2ab9158e 100644 --- a/meilisearch-http/src/option.rs +++ b/meilisearch-http/src/option.rs @@ -278,7 +278,7 @@ impl Opt { // Return an error if config file contains 'config_file_path' // Using that key in the config file doesn't make sense bc it creates a logical loop (config file referencing itself) if opt_from_config.config_file_path.is_some() { - anyhow::bail!("`config_file_path` is not supported in config file") + anyhow::bail!("`config_file_path` is not supported in the configuration file") } // We inject the values from the toml in the corresponding env vars if needs be. Doing so, we respect the priority toml < env vars < cli args. opt_from_config.export_to_env();