Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion xacc/service/ServiceRegistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ void ServiceRegistry::initialize(const std::string rootPath) {
while ((ent2 = readdir(dir2)) != NULL) {
if (std::string(ent2->d_name).find("lib") != std::string::npos) {
// std::cout << "INSTALLING: " << path << "/" << std::string(ent2->d_name) << "\n";
try{
context.InstallBundles(path + "/" + std::string(ent2->d_name));
} catch (std::exception& e) {
XACCLogger::instance()->error("Error installing bundle: " + path + "/" + std::string(ent2->d_name));
}

}
}
closedir(dir2);
Expand All @@ -79,7 +84,7 @@ void ServiceRegistry::initialize(const std::string rootPath) {
try {
b.Start();
} catch (std::exception &e) {
xacc::error("Could not load " + b.GetSymbolicName() + ", error message: " + e.what());
xacc::warning("Could not load " + b.GetSymbolicName() + ", error message: " + e.what());
}
}

Expand Down