diff --git a/java/src/org/openqa/selenium/grid/config/TomlConfig.java b/java/src/org/openqa/selenium/grid/config/TomlConfig.java index 51912d626daec..cc6f2daa84608 100644 --- a/java/src/org/openqa/selenium/grid/config/TomlConfig.java +++ b/java/src/org/openqa/selenium/grid/config/TomlConfig.java @@ -31,15 +31,20 @@ import java.util.List; import java.util.Optional; import java.util.Set; +import java.util.logging.Logger; import org.openqa.selenium.internal.Require; public class TomlConfig implements Config { private final Toml toml; + private static final Logger LOG = Logger.getLogger(TomlConfig.class.getName()); public TomlConfig(Reader reader) { try { toml = JToml.parse(reader); + LOG.warning( + "Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted" + + " strings will throw an error in the future"); } catch (IOException e) { throw new ConfigException("Unable to read TOML.", e); } catch (ParseException e) {