fixing error messages
This commit is contained in:
1 parent
e7980d666b
commit
ac3928c7f6
2 files changed
+2
-2
No files matched your search
@@ -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