将接口抛出的错误信息日志改为info

This commit is contained in:
CounterFire2023 2024-04-23 10:17:12 +08:00
parent b8b8ec4dfc
commit fc4debc99c

View File

@ -143,7 +143,7 @@ export class ApiServer {
} else if (statusCode >= 400) {
logger.info(error)
} else {
logger.error(error)
logger.info(error)
}
reply.code(200).send({
errcode: statusCode,