forked from ruoyi/RuoYi-Vue
代码优化
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