Skip to content

Commit

Permalink
[jsscripting] Minor msg improvement
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
  • Loading branch information
florian-h05 committed Mar 26, 2024
1 parent b71ea0a commit 4bb4977
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ private String stringifyThrowable(Throwable throwable) {
String stackTrace = Arrays.stream(stackTraceElements).limit(STACK_TRACE_LENGTH)
.map(t -> " at " + t.toString()).collect(Collectors.joining(System.lineSeparator()))
+ System.lineSeparator() + " ... " + stackTraceElements.length + " more";
return (message != null) ? message + System.lineSeparator() + stackTrace : stackTrace;
return (message != null) ? message + stackTrace : stackTrace;
}

/**
Expand Down

0 comments on commit 4bb4977

Please sign in to comment.