From 0b85a7c02a9ff9c70cfc929da245406ed1fff135 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Mon, 26 Jun 2017 01:40:04 +0200 Subject: [PATCH] Log if VATSIM data file contains malformed lines --- src/blackcore/vatsim/vatsimdatafilereader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blackcore/vatsim/vatsimdatafilereader.cpp b/src/blackcore/vatsim/vatsimdatafilereader.cpp index 0caabac93..9d39df082 100644 --- a/src/blackcore/vatsim/vatsimdatafilereader.cpp +++ b/src/blackcore/vatsim/vatsimdatafilereader.cpp @@ -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; }