Skip to content
Snippets Groups Projects
Commit 87df835f authored by Federico Montesino Pouzols's avatar Federico Montesino Pouzols
Browse files

low priority log if config service key not found, 1076110 , re #13951

parent a07ebc58
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,13 @@ PeakColumn::PeakColumn(std::vector<Peak> &peaks, const std::string &name)
this->m_name = name;
this->m_type = typeFromName(name); // Throws if the name is unknown
this->m_hklPrec = 2;
ConfigService::Instance().getValue("PeakColumn.hklPrec", this->m_hklPrec);
const std::string key = "PeakColumn.hklPrec";
int gotit = ConfigService::Instance().getValue(key, this->m_hklPrec);
if (!gotit)
g_log.information()
<< "In PeakColumn constructor, did not find any value for '" << key
<< "' from the Config Service. Using default: " << this->m_hklPrec
<< "\n";
}
//----------------------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment