Commit 9aa3d09a authored by Micha Mueller's avatar Micha Mueller
Browse files

Tiny fixes to ConfiguratorTemplate

parent 07d1df53
......@@ -167,6 +167,7 @@ public:
}
} else {
LOG(warning) << "Template single " << _baseName << " " << val.second.data() << " could not be read! Omitting";
delete sensor;
delete group;
}
} else {
......@@ -223,6 +224,7 @@ public:
storeSensorGroup(group);
} else {
LOG(warning) << "Single " << _baseName << " " << val.second.data() << " could not be read! Omitting";
delete sensor;
delete group;
}
}
......@@ -340,7 +342,7 @@ protected:
sBase = *(it->second);
sBase.setName(config.data());
} else {
LOG(warning) << "Template " << _groupName << "\"" << def.get().data() << "\" not found! Using standard values.";
LOG(warning) << "Template " << _baseName << "\" " << def.get().data() << "\" not found! Using standard values.";
}
}
......@@ -382,7 +384,7 @@ protected:
sGroup = *(it->second);
sGroup.setGroupName(config.data());
} else {
LOG(warning) << "Template " << _groupName << "\"" << def.get().data() << "\" not found! Using standard values.";
LOG(warning) << "Template " << _groupName << "\" " << def.get().data() << "\" not found! Using standard values.";
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment