Skip to content

Commit

Permalink
adjust exception text
Browse files Browse the repository at this point in the history
  • Loading branch information
jtduffy committed Apr 16, 2024
1 parent 4dd4d78 commit ddfb068
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static String getErrorStack(Throwable throwable) {
boolean inner = false;
while (t != null) {
if (inner) {
lines.add("caused by: " + t.getClass().getName() + ": " + t.getMessage());
lines.add(" caused by: " + t.getClass().getName() + ": " + t.getMessage());
}
lines.addAll(stackTracesToStrings(t.getStackTrace()));
t = t.equals(t.getCause()) ? null : t.getCause();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static String getErrorStack(Throwable throwable) {
boolean inner = false;
while (t != null) {
if (inner) {
lines.add("caused by: " + t.getClass().getName() + ": " + t.getMessage());
lines.add(" caused by: " + t.getClass().getName() + ": " + t.getMessage());
}
lines.addAll(stackTracesToStrings(t.getStackTrace()));
t = t.equals(t.getCause()) ? null : t.getCause();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static String getErrorStack(Throwable throwable) {
boolean inner = false;
while (t != null) {
if (inner) {
lines.add("caused by: " + t.getClass().getName() + ": " + t.getMessage());
lines.add(" caused by: " + t.getClass().getName() + ": " + t.getMessage());
}
lines.addAll(stackTracesToStrings(t.getStackTrace()));
t = t.equals(t.getCause()) ? null : t.getCause();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static String getErrorStack(Throwable throwable) {
boolean inner = false;
while (t != null) {
if (inner) {
lines.add("caused by: " + t.getClass().getName() + ": " + t.getMessage());
lines.add(" caused by: " + t.getClass().getName() + ": " + t.getMessage());
}
lines.addAll(stackTracesToStrings(t.getStackTrace()));
t = t.equals(t.getCause()) ? null : t.getCause();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static String getErrorStack(Throwable throwable) {
boolean inner = false;
while (t != null) {
if (inner) {
lines.add("caused by: " + t.getClass().getName() + ": " + t.getMessage());
lines.add(" caused by: " + t.getClass().getName() + ": " + t.getMessage());
}
lines.addAll(stackTracesToStrings(t.getStackTrace()));
t = t.equals(t.getCause()) ? null : t.getCause();
Expand Down

0 comments on commit ddfb068

Please sign in to comment.