From b8f84f9ec0ae19b9d2c0d01636f9024eac63f45d Mon Sep 17 00:00:00 2001 From: Philipp Kolberg Date: Tue, 19 Dec 2023 20:42:03 +0100 Subject: [PATCH] Convert error to warning when feature flag is unrecognized --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index b2df980f..c1821798 100644 --- a/src/config.rs +++ b/src/config.rs @@ -758,7 +758,7 @@ fn validate_config(cfg: &ConfigItems) -> Result<(), Error> { &["autofill-overlay", "autofill-v2", "browser-fileless-import", "fido2-vault-credentials"]; for flag in parse_experimental_client_feature_flags(&cfg.experimental_client_feature_flags).keys() { if !KNOWN_FLAGS.contains(&flag.as_str()) { - err!(format!("The experimental client feature flag {flag:?} is unrecognized. Please ensure the feature flag is spelled correctly and that it is supported in this version.")); + warn!("The experimental client feature flag {flag:?} is unrecognized. Please ensure the feature flag is spelled correctly and that it is supported in this version."); } }