公安用户增删改查

接口鉴权 过滤客户端
This commit is contained in:
luozhun 2024-09-04 17:13:26 +08:00
parent 3447e1bc0a
commit d4240811e8
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ public class GlobalExceptionHandler {
@ExceptionHandler(Throwable.class)
public JsonResult<String> throwableHandler(Throwable throwable) {
String errorLabel = "系统错误:" + ExceptionUtil.getMessage(throwable);
log.error("系统错误:{}", ExceptionUtil.stacktraceToString(throwable));
log.error("系统错误:", throwable);
return JsonResult.custom(ResultCode.ERROR.getCode(), errorLabel);
}