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

Log stacktrace for repositoryAccessFailed at debug level, not warn #811

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

timtebeek
Copy link
Contributor

What's changed?

Hide stack trace by default, but log it at debug level such that it is accessible when troubleshooting through -X.

What's your motivation?

Folks were alarmed by the full stack trace, incorrectly concluding that recipes aren't running. As per

Have you considered any alternatives or workarounds?

Will still see if we can not contact failing repositories unnecessarily to really fix openrewrite/rewrite#4101

@timtebeek timtebeek added the enhancement New feature or request label Jul 4, 2024
@timtebeek timtebeek self-assigned this Jul 4, 2024
@timtebeek timtebeek changed the title Do not log stacktrace for repositoryAccessFailed Log stacktrace for repositoryAccessFailed at debug level, not warn Jul 4, 2024
@timtebeek timtebeek merged commit d5e4d37 into main Jul 4, 2024
1 check passed
@timtebeek timtebeek deleted the hide-repositoryAccessFailed-details-by-default branch July 4, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Do not eagerly resolve Maven repositories, to prevent SSLHandshakeException stacktrace from maven.java.net
1 participant