Skip to content

Commit

Permalink
chore: print an error for e2e launch failures
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Feb 20, 2025
1 parent 4087c54 commit 4b48c02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/run-e2e.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ if (e2eProcess.stdout) {
e2eProcess.stdout.pipe(addPrefix()).pipe(syncFileStreams);
}

e2eProcess.on('error', () => {
e2eProcess.on('error', (error) => {
console.log('starting e2e tests failed', error);
serverProcess.kill();
process.exit(1);
});
Expand Down

0 comments on commit 4b48c02

Please sign in to comment.