mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Log if VATSIM data file contains malformed lines
This commit is contained in:
committed by
Mathew Sutcliffe
parent
e10ab7b9de
commit
0b85a7c02a
@@ -455,7 +455,7 @@ namespace BlackCore
|
||||
if (currentLine.endsWith(':')) { clientParts.removeLast(); }
|
||||
if (clientParts.size() != clientSectionAttributes.size())
|
||||
{
|
||||
BLACK_VERIFY_X(false, Q_FUNC_INFO, "Wrong parts size");
|
||||
CLogMessage(getLogCategories()).warning("Client parts: %1 attributes: %2 line: '%3'") << clientParts.size() << clientSectionAttributes.size() << currentLine;
|
||||
return parts;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user