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