Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReactiveFeignException prints exceptions stacktraces to error print stream #628

Closed
golinko opened this issue Sep 28, 2023 · 0 comments · Fixed by #629
Closed

ReactiveFeignException prints exceptions stacktraces to error print stream #628

golinko opened this issue Sep 28, 2023 · 0 comments · Fixed by #629

Comments

@golinko
Copy link

golinko commented Sep 28, 2023

This fix: fixes 524 has introduced a behaviour when exception stacktrace is always printed to the error print stream, so it is not possible to disable such logs (as it does not belong to any logger) without dirty hacks.

    public ReactiveFeignException(Throwable cause, ReactiveHttpRequest request) {
        super(String.format(MESSAGE_PATTERN, request, cause.getMessage()), cause);
        this.request = request;
        cause.printStackTrace();
    }

Is it possible to make it configurable or disable it at all?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant