diff --git a/iocore/net/YamlSNIConfig.cc b/iocore/net/YamlSNIConfig.cc index cadeb77148d..a5d277837a6 100644 --- a/iocore/net/YamlSNIConfig.cc +++ b/iocore/net/YamlSNIConfig.cc @@ -158,7 +158,7 @@ template <> struct convert { for (const auto &elem : node) { if (std::none_of(valid_sni_config_keys.begin(), valid_sni_config_keys.end(), [&elem](const std::string &s) { return s == elem.first.as(); })) { - throw YAML::ParserException(elem.first.Mark(), "unsupported key " + elem.first.as()); + Warning("unsupported key '%s' in SNI config", elem.first.as().c_str()); } }