diff --git a/ym-admin/src/main/java/com/cnbm/admin/exception/YmExceptionHandler.java b/ym-admin/src/main/java/com/cnbm/admin/exception/YmExceptionHandler.java index c33d554..b3965f5 100644 --- a/ym-admin/src/main/java/com/cnbm/admin/exception/YmExceptionHandler.java +++ b/ym-admin/src/main/java/com/cnbm/admin/exception/YmExceptionHandler.java @@ -77,14 +77,14 @@ public class YmExceptionHandler { return result; } - @ExceptionHandler(Exception.class) - public Result handleException(Exception ex){ - logger.error(ex.getMessage(), ex); - -// saveLog(ex); - - return new Result().error(); - } +// @ExceptionHandler(Exception.class) +// public Result handleException(Exception ex){ +// logger.error(ex.getMessage(), ex); +// +//// saveLog(ex); +// +// return new Result().error(); +// } // // /** // * 保存异常日志