mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Serialize access to the debug journal
This commit is contained in:
@@ -64,7 +64,7 @@ STPathSet::STPathSet (SerialIter& sit, SField const& name)
|
||||
{
|
||||
if (path.empty ())
|
||||
{
|
||||
JLOG (debugJournal().info())
|
||||
JLOG (debugLog())
|
||||
<< "Empty path in pathset";
|
||||
Throw<std::runtime_error> ("empty path");
|
||||
}
|
||||
@@ -77,7 +77,7 @@ STPathSet::STPathSet (SerialIter& sit, SField const& name)
|
||||
}
|
||||
else if (iType & ~STPathElement::typeAll)
|
||||
{
|
||||
JLOG (debugJournal().info())
|
||||
JLOG (debugLog())
|
||||
<< "Bad path element " << iType << " in pathset";
|
||||
Throw<std::runtime_error> ("bad path element");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user