mirror of
https://gitee.com/y_project/RuoYi-Vue.git
synced 2026-02-03 08:55:07 +08:00
代码优化
This commit is contained in:
@ -18,8 +18,7 @@ public class ExceptionUtil
|
||||
{
|
||||
StringWriter sw = new StringWriter();
|
||||
e.printStackTrace(new PrintWriter(sw, true));
|
||||
String str = sw.toString();
|
||||
return str;
|
||||
return sw.toString();
|
||||
}
|
||||
|
||||
public static String getRootErrorMessage(Exception e)
|
||||
|
||||
Reference in New Issue
Block a user