error on presence of "Exception:" and "Error:"

This commit is contained in:
KIU Shueng Chuan 2021-06-08 15:13:17 +08:00
parent 61f067bf7c
commit 1715d5a6fa
1 changed files with 2 additions and 2 deletions

View File

@ -205,8 +205,8 @@ except:
process.stderr.close()
if (fail or
'exception' in stderr.lower() or
'error' in stderr.lower()):
'Exception:' in stderr or
'Error:' in stderr):
if (not fail
and name == "RemoteGraphicsView"
and "pyqtgraph.multiprocess.remoteproxy.ClosedError" in stderr):