fix logging error messages

This commit is contained in:
smart_ex 2022-04-21 00:32:58 +10:00 committed by Danil Kovtonyuk
parent 38fd1e6a4c
commit bca85764bc

View File

@ -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)
}
}