|
@@ -402,7 +402,7 @@ public final class StringUtil {
|
|
|
return "ERROR,throwable is NULL!";
|
|
return "ERROR,throwable is NULL!";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- try (StringWriter strWriter = new StringWriter(512); PrintWriter writer = new PrintWriter(strWriter)) {
|
|
|
|
|
|
|
+ try (StringWriter strWriter = new StringWriter(1024); PrintWriter writer = new PrintWriter(strWriter)) {
|
|
|
throwable.printStackTrace(writer);
|
|
throwable.printStackTrace(writer);
|
|
|
StringBuffer sb = strWriter.getBuffer();
|
|
StringBuffer sb = strWriter.getBuffer();
|
|
|
return sb.toString();
|
|
return sb.toString();
|