From 1ac94e3d4cfb4771f9828ed43bbf39b38d37ccf9 Mon Sep 17 00:00:00 2001 From: weihongyang <1075331873@qq.com> Date: Thu, 23 Jun 2022 16:00:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cnbm/admin/exception/YmExceptionHandler.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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(); +// } // // /** // * 保存异常日志