handle tip jobs err gracefully

This commit is contained in:
hatim boufnichel 2020-10-23 16:28:48 +02:00
parent 727290584c
commit d018c65bc5

View file

@ -208,6 +208,9 @@ const startTipStatusJob = () => {
executeTipAction(tip, invoice) executeTipAction(tip, invoice)
} }
}) })
stream.on('error', err => {
Logger.error('Tip Job error' + err.details)
})
} }
module.exports = { module.exports = {