From a2a6cd13165b49108d485e1a22b943c026997031 Mon Sep 17 00:00:00 2001 From: Ryan Birmingham Date: Wed, 5 Oct 2022 14:44:59 -0400 Subject: [PATCH] try another catch --- caracal.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/caracal.js b/caracal.js index 0291103..cbb9ed6 100644 --- a/caracal.js +++ b/caracal.js @@ -229,10 +229,15 @@ function masterHandler() { }).then(()=>{ if (RUN_INDEXER) { const indexer = require('./idx_mongo.js'); + try{ indexer.collections(); indexer.indexes(); indexer.defaults(); console.log("added indexes"); + } + catch(e){ + console.log("error in indexer, ", e); + } } }).catch((e) => { console.error(e);