Authored by yyq

status code

... ... @@ -224,7 +224,7 @@ exports.serverError = () => {
} else if (err.code === 9999991 || err.code === 9999992) {
return _err510(req, res, 510, err);
} else if (+err.statusCode === 503) {
return _err503(req, res, 510, err);
return _err503(req, res, 503, err);
}
if (!res.headersSent) {
... ...