From e29b492f42d4beb963cecf932bfe709cce811f0d Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Sat, 29 Jun 2024 20:38:34 +0200 Subject: [PATCH] catch queue errors (#54) --- testrunner/src/queue/queuehandler.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testrunner/src/queue/queuehandler.js b/testrunner/src/queue/queuehandler.js index 0f0eaa5..2069b6f 100644 --- a/testrunner/src/queue/queuehandler.js +++ b/testrunner/src/queue/queuehandler.js @@ -56,6 +56,10 @@ class QueueHandler { } }); + this.redis.on('error', error => { + logger.error('Error in KeyDB/Redis connection %s', error); + }); + // If the server comes online, lets tell it that we are ready this.redis.on('message', (channel, message) => { if (channel === 'server' && message === 'start') {