fix logging error messages

This commit is contained in:
smart_ex 2022-04-21 00:32:58 +10:00 committed by Danil Kovtonyuk
parent 7254aa047f
commit 30107369e7
No known key found for this signature in database
GPG Key ID: E72A919BF08C3746
1 changed files with 1 additions and 1 deletions

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