#6318 Hack to ignore TIS/TSM log line on macOS

This commit is contained in:
Sarah Hebert 2018-07-04 18:05:10 +01:00 committed by Nick Bolton
parent 1b0ab12c91
commit 0f2306c9ac
1 changed files with 7 additions and 0 deletions

View File

@ -446,6 +446,13 @@ void MainWindow::appendLogRaw(const QString& text)
{
foreach(QString line, text.split(QRegExp("\r|\n|\r\n"))) {
if (!line.isEmpty()) {
// HACK: macOS 10.13.4+ spamming error lines in logs making them
// impossible to read and debug; giving users a red herring.
if (line.contains("calling TIS/TSM in non-main thread environment")) {
continue;
}
m_pLogOutput->append(line);
updateFromLogLine(line);
}