From b52b72efc30a929cde769b792be4a9cef6ecd36c Mon Sep 17 00:00:00 2001 From: William Dizon Date: Fri, 1 Nov 2019 08:38:48 -0700 Subject: [PATCH] gracefully handle broken profile urls --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index 40d61e32..b1780fd0 100644 --- a/server.js +++ b/server.js @@ -235,7 +235,7 @@ server.backend = function(base_dir, socket_emitter, user_config) { logging.info("Downloaded information for collection: {0} ({1} entries)".format(collection.name, output.length)); profiles = profiles.concat(output); } - outer_cb(err); + outer_cb(); }); //end waterfall } else { //for profiles like paperspigot which are hardcoded async.waterfall([ @@ -249,7 +249,7 @@ server.backend = function(base_dir, socket_emitter, user_config) { logging.info("Downloaded information for collection: {0} ({1} entries)".format(collection.name, output.length)); profiles = profiles.concat(output); } - outer_cb(err); + outer_cb(); }); //end waterfall } },