调整异常类

This commit is contained in:
TinyAnts
2023-03-14 16:02:09 +08:00
parent 9a9ae9f336
commit 532653107b

View File

@@ -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());