Browse Source

Merge pull request #14265 from kenrowland/HPCC-24906

HPCC-24906 Build error in config manager

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merged-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 4 năm trước cách đây
mục cha
commit
6b94bb5b03
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      configuration/configmgr/configmgrlib/SchemaValue.cpp

+ 1 - 1
configuration/configmgr/configmgrlib/SchemaValue.cpp

@@ -112,7 +112,7 @@ void SchemaValue::validate(Status &status, const std::string &id, const Environm
     if (pEnvValue == nullptr)
     {
         std::string msg = "Attempt to validate schema value w/o an environment value.";
-        throw(std::runtime_error(msg));
+        throw(ParseException(msg));
     }
 
     //