mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-07 23:57:20 +08:00
调整异常类
This commit is contained in:
@@ -33,7 +33,6 @@ public class GlobalException {
|
||||
public AjaxResult<Object> handleException(Exception e) {
|
||||
if (GlobalConfig.debug) {
|
||||
e.printStackTrace();
|
||||
System.out.println(e.getMessage());
|
||||
}
|
||||
log.error("系统异常 {}", e.getMessage());
|
||||
return AjaxResult.failed(HttpEnum.SYSTEM_ERROR.getCode(), e.getMessage());
|
||||
|
||||
Reference in New Issue
Block a user