#6318 Hack to ignore TIS/TSM log line on macOS
This commit is contained in:
parent
1b0ab12c91
commit
0f2306c9ac
|
@ -446,6 +446,13 @@ void MainWindow::appendLogRaw(const QString& text)
|
||||||
{
|
{
|
||||||
foreach(QString line, text.split(QRegExp("\r|\n|\r\n"))) {
|
foreach(QString line, text.split(QRegExp("\r|\n|\r\n"))) {
|
||||||
if (!line.isEmpty()) {
|
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);
|
m_pLogOutput->append(line);
|
||||||
updateFromLogLine(line);
|
updateFromLogLine(line);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue