diff --git a/test/electron/renderer.js b/test/electron/renderer.js index 5658b244719..63729010808 100644 --- a/test/electron/renderer.js +++ b/test/electron/renderer.js @@ -270,5 +270,5 @@ function runTests(opts) { ipcRenderer.on('run', (e, opts) => { initLoader(opts); - runTests(opts).catch(err => console.error(err)); + runTests(opts).catch(err => console.error(typeof err === 'string' ? err : JSON.stringify(err))); });