Only continue log level if line starts with whitespace; reintroduce exception detection

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2025-12-05 12:35:21 +00:00
parent 92738feeba
commit c018b60816
5 changed files with 13 additions and 16 deletions

View File

@@ -257,10 +257,7 @@ bool LaunchTask::parseXmlLogs(QString const& line, MessageLevel::Enum level)
MessageLevel::Enum newLevel = MessageLevel::fromLine(msg);
if (newLevel == MessageLevel::Unknown)
newLevel = LogParser::guessLevel(line);
if (newLevel == MessageLevel::Unknown)
newLevel = model->previousLevel();
newLevel = LogParser::guessLevel(line, model->previousLevel());
msg = censorPrivateInfo(msg);