日志打印 错误详情

This commit is contained in:
wangw 2025-02-25 15:30:56 +08:00
parent 8e30906499
commit 770b80711e
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ public class CzgControllerAdvice {
}
private void setErrorLog(Exception ex) {
log.error("错误",ex);
log.error(ex.getMessage());
}
}