From b30b2addd02b4b78dad35e931dc35da76ac5af8c Mon Sep 17 00:00:00 2001 From: Marek Date: Mon, 27 Jun 2022 18:38:16 +0200 Subject: [PATCH] Suggest how to fix `zebrad.toml` when Zebra cannot parse it --- zebrad/src/application.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebrad/src/application.rs b/zebrad/src/application.rs index 5eb20ac4202..d2a1380693e 100644 --- a/zebrad/src/application.rs +++ b/zebrad/src/application.rs @@ -207,7 +207,7 @@ impl Application for ZebradApp { Some(path) => match self.load_config(&path) { Ok(config) => config, Err(e) => { - status_err!("Zebra could not parse the provided config file. This might mean you are using a deprecated format of the file."); + status_err!("Zebra could not parse the provided config file. This might mean you are using a deprecated format of the file. You can generate a valid config by running \"zebrad generate\", and diff it against yours to examine any format inconsistencies."); return Err(e); } },