From d018c65bc55c7188a9c0bcac7579e1a93f0edfb1 Mon Sep 17 00:00:00 2001 From: hatim boufnichel Date: Fri, 23 Oct 2020 16:28:48 +0200 Subject: [PATCH] handle tip jobs err gracefully --- utils/lndJobs.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/lndJobs.js b/utils/lndJobs.js index c7a69524..d5b36b11 100644 --- a/utils/lndJobs.js +++ b/utils/lndJobs.js @@ -208,6 +208,9 @@ const startTipStatusJob = () => { executeTipAction(tip, invoice) } }) + stream.on('error', err => { + Logger.error('Tip Job error' + err.details) + }) } module.exports = {