From 0f2306c9ac5cfc2b23db06b80f93fd27d26bdc55 Mon Sep 17 00:00:00 2001 From: Sarah Hebert Date: Wed, 4 Jul 2018 18:05:10 +0100 Subject: [PATCH] #6318 Hack to ignore TIS/TSM log line on macOS --- src/gui/src/MainWindow.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp index a035fe6a..083fbb95 100644 --- a/src/gui/src/MainWindow.cpp +++ b/src/gui/src/MainWindow.cpp @@ -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); }