diff --git a/src/test_utils/nim_waku.ts b/src/test_utils/nim_waku.ts index 864e7b5162..5d6957b2f6 100644 --- a/src/test_utils/nim_waku.ts +++ b/src/test_utils/nim_waku.ts @@ -71,6 +71,16 @@ export class NimWaku { ], }); + this.process.on('exit', (signal) => { + if (signal != 0) { + console.log(`nim-waku process exited with ${signal}`); + } + }); + + this.process.on('error', (err) => { + console.log(`nim-waku process encountered an error: ${err}`); + }); + await this.waitForLog('RPC Server started'); }