We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9efa05 commit 4c5032bCopy full SHA for 4c5032b
1 file changed
modules/core/task/include/task.hpp
@@ -87,7 +87,7 @@ inline std::string GetStringTaskType(TypeOfTask type_of_task, const std::string
87
88
std::string type_str = TypeOfTaskToString(type_of_task);
89
if (type_str == "unknown") {
90
- throw std::runtime_error("Unknown task type");
+ return type_str;
91
}
92
93
return type_str + "_" + std::string((*list_settings)["tasks"][type_str]);
0 commit comments