Skip to content

Commit

Permalink
gracefully handle broken profile urls
Browse files Browse the repository at this point in the history
  • Loading branch information
hexparrot authored Nov 1, 2019
1 parent 722be3d commit b52b72e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand All @@ -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
}
},
Expand Down

0 comments on commit b52b72e

Please sign in to comment.