mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 05:45:35 +08:00
Ref T42, single quote around value
This commit is contained in:
committed by
Mathew Sutcliffe
parent
6ebbf58f79
commit
297ef8ea16
@@ -975,16 +975,16 @@ namespace BlackCore
|
|||||||
const CStatusMessage::StatusSeverity severity = CEntityFlags::flagToSeverity(state);
|
const CStatusMessage::StatusSeverity severity = CEntityFlags::flagToSeverity(state);
|
||||||
if (severity == CStatusMessage::SeverityWarning)
|
if (severity == CStatusMessage::SeverityWarning)
|
||||||
{
|
{
|
||||||
CLogMessage(cats).warning("Read data %1 entries: %2 state: %3") << CEntityFlags::flagToString(entities) << number << CEntityFlags::flagToString(state);
|
CLogMessage(cats).warning("Read data '%1' entries: %2 state: %3") << CEntityFlags::flagToString(entities) << number << CEntityFlags::flagToString(state);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
CLogMessage(cats).error("Read data %1 entries: %2 state: %3") << CEntityFlags::flagToString(entities) << number << CEntityFlags::flagToString(state);
|
CLogMessage(cats).error("Read data '%1' entries: %2 state: %3") << CEntityFlags::flagToString(entities) << number << CEntityFlags::flagToString(state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
CLogMessage(cats).info("Read data %1 entries: %2 state: %3") << CEntityFlags::flagToString(entities) << number << CEntityFlags::flagToString(state);
|
CLogMessage(cats).info("Read data '%1' entries: %2 state: %3") << CEntityFlags::flagToString(entities) << number << CEntityFlags::flagToString(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
this->m_swiftDbEntitiesRead |= entities;
|
this->m_swiftDbEntitiesRead |= entities;
|
||||||
@@ -1067,7 +1067,7 @@ namespace BlackCore
|
|||||||
// try to read
|
// try to read
|
||||||
if (trials > maxWaitCycles)
|
if (trials > maxWaitCycles)
|
||||||
{
|
{
|
||||||
CLogMessage(this).warning("Cannot read %1 info objects for '%2' from '%3'") << info << CEntityFlags::flagToString(entities) << reader->getInfoObjectsUrl().toQString();
|
CLogMessage(this).warning("Cannot read %1 info objects for '%2' from '%3' trial %4") << info << CEntityFlags::flagToString(entities) << reader->getInfoObjectsUrl().toQString() << trials;
|
||||||
|
|
||||||
// continue here and read data without info objects
|
// continue here and read data without info objects
|
||||||
reader->setMarkedAsFailed(true);
|
reader->setMarkedAsFailed(true);
|
||||||
|
|||||||
@@ -475,7 +475,7 @@ namespace BlackMisc
|
|||||||
temp.removeDuplicates(currentValues);
|
temp.removeDuplicates(currentValues);
|
||||||
o_values.insert(temp, QFileInfo(file).lastModified().toMSecsSinceEpoch());
|
o_values.insert(temp, QFileInfo(file).lastModified().toMSecsSinceEpoch());
|
||||||
}
|
}
|
||||||
return CStatusMessage(this).info("Loaded cache values %1 from %2 %3") <<
|
return CStatusMessage(this).info("Loaded cache values '%1' from '%2' '%3'") <<
|
||||||
(keysMessage.isEmpty() ? o_values.keys().to<QStringList>().join(",") : keysMessage) << dir << (ok ? "successfully" : "with errors");
|
(keysMessage.isEmpty() ? o_values.keys().to<QStringList>().join(",") : keysMessage) << dir << (ok ? "successfully" : "with errors");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user