Don't quit on queue error
authorChocobozzz <me@florianbigard.com>
Mon, 10 Dec 2018 09:54:49 +0000 (10:54 +0100)
committerChocobozzz <me@florianbigard.com>
Tue, 11 Dec 2018 08:18:01 +0000 (09:18 +0100)
server/lib/job-queue/job-queue.ts

index 5862e178f81d8b18b4c10e373b2a4b54c290b256..e34be7dcddecbc3b24a8664de559392ce7f660e0 100644 (file)
@@ -88,7 +88,6 @@ class JobQueue {
 
       queue.on('error', err => {
         logger.error('Error in job queue %s.', handlerName, { err })
-        process.exit(-1)
       })
 
       this.queues[handlerName] = queue