diff --git a/Server/test/testUtil.ts b/Server/test/testUtil.ts index 20adf09..58d356d 100644 --- a/Server/test/testUtil.ts +++ b/Server/test/testUtil.ts @@ -50,7 +50,10 @@ export default new class TestUtil { console.error(`Didn't listen fast enough`); process.exit(1); }, 10_000); - console.log(`starting ${this.testName} at port ${this.port}`) + console.log(`starting ${this.testName} at port ${this.port}`); + newProcess.on("error", err => { + console.log(`Cannot spawn burgerpanel in test ${this.testName} due to: ${err}`); + }) await new Promise((r) => { newProcess.stdout.on("data", m => { console.log(`${this.testName} | ${m.toString()}`);