the noop callback will print the error

This commit is contained in:
Girish Ramakrishnan
2017-06-19 22:19:36 -07:00
parent cd52459f05
commit a553755f4a

View File

@@ -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;