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

View File

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