From 308f09b2919ec99c670b66de92529907e852a273 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Mon, 12 Nov 2018 22:05:49 -0700 Subject: [PATCH] Proper callback when missing MCI --- core/msg_conf_list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/msg_conf_list.js b/core/msg_conf_list.js index 3c9d7152..7ba75376 100644 --- a/core/msg_conf_list.js +++ b/core/msg_conf_list.js @@ -73,7 +73,7 @@ exports.getModule = class MessageConfListModule extends MenuModule { (next) => { const confListView = this.viewControllers.confList.getView(MciViewIds.confList); if(!confListView) { - return cb(Errors.MissingMci(`Missing conf list MCI ${MciViewIds.confList}`)); + return next(Errors.MissingMci(`Missing conf list MCI ${MciViewIds.confList}`)); } confListView.on('index update', idx => {