fixing error messages
This commit is contained in:
@@ -162,7 +162,7 @@ std::unique_ptr<de::TaskExecutor> executorFactory(const rj::Value &config)
|
||||
if (!execConf.IsObject())
|
||||
throw std::runtime_error("Executor config is not an object");
|
||||
if (!execConf.HasMember("name"))
|
||||
throw std::runtime_error("Executor config is missing execger name");
|
||||
throw std::runtime_error("Executor config is missing name");
|
||||
if (!execConf.HasMember("config"))
|
||||
throw std::runtime_error("Executor config is missing config");
|
||||
std::string name = execConf["name"].GetString();
|
||||
|
||||
Reference in New Issue
Block a user