提交 a17ea271 编写于 作者: R Rob Lourens

Ensure error output from tests is readable

上级 81c11b82
...@@ -270,5 +270,5 @@ function runTests(opts) { ...@@ -270,5 +270,5 @@ function runTests(opts) {
ipcRenderer.on('run', (e, opts) => { ipcRenderer.on('run', (e, opts) => {
initLoader(opts); initLoader(opts);
runTests(opts).catch(err => console.error(err)); runTests(opts).catch(err => console.error(typeof err === 'string' ? err : JSON.stringify(err)));
}); });
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册