RuoYi
2022-02-12 dbca691746395d928a6f4ff1f2d8c49df8a53a90
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/ExceptionUtil.java
@@ -18,11 +18,10 @@
    {
        StringWriter sw = new StringWriter();
        e.printStackTrace(new PrintWriter(sw, true));
        String str = sw.toString();
        return str;
        return sw.toString();
    }
    public static String getRootErrorMseeage(Exception e)
    public static String getRootErrorMessage(Exception e)
    {
        Throwable root = ExceptionUtils.getRootCause(e);
        root = (root == null ? e : root);