Continue when blacklist is unavailable
This commit is contained in:
parent
f138748d1a
commit
29b7725597
|
@ -14,11 +14,10 @@ function checkBlacklist(req, res, next) {
|
|||
}
|
||||
},
|
||||
error => {
|
||||
console.error(error);
|
||||
console.error("Unable to fetch the blacklist: %s", error);
|
||||
|
||||
res.status(500).send({
|
||||
error: "Unable to fetch the blacklist"
|
||||
});
|
||||
// Continue anyway.
|
||||
next();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue