Skip to content

Commit

Permalink
Setting stacktrace stringwriter initial buffer size to 256
Browse files Browse the repository at this point in the history
  • Loading branch information
LikeTheSalad committed Feb 14, 2024
1 parent feadf05 commit e413dc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private void emitCrashEvent(Logger crashReporter, CrashDetails crashDetails) {
}

private String stackTraceToString(Throwable throwable) {
StringWriter sw = new StringWriter();
StringWriter sw = new StringWriter(256);
PrintWriter pw = new PrintWriter(sw);

throwable.printStackTrace(pw);
Expand Down

0 comments on commit e413dc6

Please sign in to comment.