From a553755f4ade695eb557427a1a41cef101daed61 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 19 Jun 2017 22:19:36 -0700 Subject: [PATCH] the noop callback will print the error --- src/updatechecker.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/updatechecker.js b/src/updatechecker.js index 695d7d899..87e4a43a8 100644 --- a/src/updatechecker.js +++ b/src/updatechecker.js @@ -163,10 +163,7 @@ function checkBoxUpdates(callback) { } settings.getSubscription(function (error, result) { - if (error) { - debug(error); - return callback(); - } + if (error) return callback(error); function done() { state.box = updateInfo.version;