Browse Source

Convert error to warning when feature flag is unrecognized

pull/4168/head
Philipp Kolberg 2 years ago
parent
commit
b8f84f9ec0
No known key found for this signature in database GPG Key ID: 4C58CB0448FF9061
  1. 2
      src/config.rs

2
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.");
}
}

Loading…
Cancel
Save