mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
update profile validator (#13494)
This commit is contained in:
@@ -4549,6 +4549,7 @@ std::pair<PresetsConfigSubstitutions, size_t> PresetBundle::load_vendor_configs_
|
|||||||
std::string version_str = it.value();
|
std::string version_str = it.value();
|
||||||
auto config_version = Semver::parse(version_str);
|
auto config_version = Semver::parse(version_str);
|
||||||
if (! config_version) {
|
if (! config_version) {
|
||||||
|
++m_errors;
|
||||||
throw ConfigurationError((boost::format("vendor %1%'s config version: %2% invalid\nSuggest cleaning the directory %3% firstly")
|
throw ConfigurationError((boost::format("vendor %1%'s config version: %2% invalid\nSuggest cleaning the directory %3% firstly")
|
||||||
% vendor_name % version_str % path).str());
|
% vendor_name % version_str % path).str());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user