Skip to content

Commit

Permalink
Update stack trace string
Browse files Browse the repository at this point in the history
  • Loading branch information
KostasTsiounis committed Jan 17, 2025
1 parent 64dfc58 commit d68c8ff
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,8 @@ boolean isRestrictedServiceAllowed(Service service, boolean isServiceAdded) {
StackTraceElement[] stackElements = Thread.currentThread().getStackTrace();
String stackTrace = Stream.of(stackElements)
.map(se -> se.toString())
.collect(Collectors.joining("\\n\\t"));
.collect(Collectors.joining("\n\tat "));
stackTrace += "Stack trace triggered from ";
if (debug != null) {
debug.println("Using the regex: " + cAcceptedUses + " on the following stack trace:\n" + stackTrace);
}
Expand Down

0 comments on commit d68c8ff

Please sign in to comment.