Ensure error output from tests is readable

This commit is contained in:
Rob Lourens 2018-05-15 18:04:24 -07:00
parent 81c11b822c
commit a17ea27109

View file

@ -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)));
});