fix: 全局异常处理

This commit is contained in:
taojinlong 2022-03-01 12:02:29 +08:00
parent 69ee34bf48
commit 4c7f6ed329

View File

@ -90,7 +90,7 @@ public class DePermissionAnnotationHandler {
} catch (Throwable throwable) {
LogUtil.error(throwable.getMessage(), throwable);
throw new RuntimeException(throwable);
throw new RuntimeException(throwable.getMessage());
}
}