xiaoyong931011
2022-05-05 03f20f2541342349fbabf6a59e7e450f50ba3e61
zq-erp/src/main/java/com/matrix/core/exception/GlobleExceptionResolver.java
@@ -53,7 +53,7 @@
        if (ex instanceof GlobleException) {
            // 如果是内部全局异常
            LogUtil.warn("#程序抛出全局异常#", ex);
            LogUtil.error("#程序抛出全局异常#", ex);
            GlobleException globleException = (GlobleException) ex;
            attr.put("status", globleException.getErrorCode());
            attr.put("info", globleException.getMessage());
@@ -61,7 +61,7 @@
        } else {
            // 非内部异常
            LogUtil.error("#程序抛出未捕获异常#", ex);
            LogUtil.error("#程序抛出未捕获异常#");
            attr.put("status", 999999);
            attr.put("info", InternationaUtil.getMesssge(SystemErrorCode.SYSTEM_UNKNOW_ERROR));
            // 发送异常信息到管理群