From bca85764bc7a7429fb324773e85413ce62c9afc3 Mon Sep 17 00:00:00 2001 From: smart_ex Date: Thu, 21 Apr 2022 00:32:58 +1000 Subject: [PATCH] fix logging error messages --- src/worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker.js b/src/worker.js index 4708a25..691991f 100644 --- a/src/worker.js +++ b/src/worker.js @@ -46,7 +46,7 @@ function start() { queue.process(processJob) console.log('Worker started') } catch (e) { - logRelayerError(redis, e.message) + logRelayerError(redis, e) console.error('error on start worker', e.message) } }