Skip to content

Commit

Permalink
Ensure error output from tests is readable
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed May 16, 2018
1 parent 9297c43 commit 3216ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electron/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
});

0 comments on commit 3216ef5

Please sign in to comment.