From 386fbf80e82d605875d593c6fb0f3d701bac8b5a Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Tue, 29 Nov 2022 10:06:06 -0700 Subject: [PATCH] update message logging, https://github.com/phetsims/aqua/issues/150 --- js/server/ContinuousServerClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/server/ContinuousServerClient.js b/js/server/ContinuousServerClient.js index 21aa00c..214525c 100644 --- a/js/server/ContinuousServerClient.js +++ b/js/server/ContinuousServerClient.js @@ -48,7 +48,7 @@ class ContinuousServerClient { workerList.push( worker ); worker.on( 'message', message => { console.log( `Worker${workerNumber} Message from puppeteerClient:`, message ); } ); - worker.on( 'error', e => { console.error( `Worker${workerNumber} Message from puppeteerClient:`, e ); } ); + worker.on( 'error', e => { console.error( `Worker${workerNumber} Error from puppeteerClient:`, e ); } ); worker.on( 'exit', code => { console.log( `Worker${workerNumber} instance complete` ); const index = _.indexOf( workerList, worker );