mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-11-13 20:53:48 +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