将接口抛出的错误信息日志改为info
This commit is contained in:
parent
b8b8ec4dfc
commit
fc4debc99c
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user