Skip to content

Commit

Permalink
Don't capture stacktraces for REST Client by default
Browse files Browse the repository at this point in the history
The reason the default is now set to false is that
capturing the stacktrace is a very CPU intensive operation.
Although this leads to a slightly worse user experience,
it's not too bad because the error does contain
the REST Client class and method that caused the error
  • Loading branch information
geoand authored and danielsoro committed Sep 20, 2024
1 parent 3267c74 commit 57c5ce2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public interface RestClientsConfig {
* If {@code true}, the stacktrace of the invocation of the REST Client method is captured.
* This stacktrace will be used if the invocation throws an exception
*/
@WithDefault("true")
@WithDefault("false")
boolean captureStacktrace();

/**
Expand Down

0 comments on commit 57c5ce2

Please sign in to comment.