Skip to content

Commit

Permalink
Renames method as it is not printing anything but rather building and…
Browse files Browse the repository at this point in the history
… returning a string

Fixes: SIRI-960
  • Loading branch information
mko-sci committed May 16, 2024
1 parent af7bdc8 commit e504791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/sirius/kernel/health/Exceptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ public static Throwable getRootCause(@Nullable Throwable throwable) {
* @param throwable the throwable to generate the stack trace for
* @return a string representation of the stack trace without the error message
*/
public static String printStackTraceWithoutErrorMessage(Throwable throwable) {
public static String buildStackTraceWithoutErrorMessage(Throwable throwable) {
StringBuilder stringBuilder = new StringBuilder();

stringBuilder.append(throwable.getClass().getName()).append(":").append("\n");
Expand Down

0 comments on commit e504791

Please sign in to comment.