Skip to content

Convert vertx http client 3.0 groovy tests to java #10093

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

Conversation

happyuser23
Copy link
Contributor

Related to #7195

@happyuser23 happyuser23 requested a review from a team December 18, 2023 16:32
@Override
public int sendRequest(
HttpClientRequest request, String method, URI uri, Map<String, String> headers)
throws InterruptedException {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you could have throws Exception here and could skip wrapping the exceptions into runtime exception. This in turn should allow removing the setClientSpanErrorMapper call.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. Updated.

@trask trask merged commit 46ac349 into open-telemetry:main Dec 21, 2023
@happyuser23 happyuser23 deleted the convert-vertx-http-client-3.0-groovy-test branch December 22, 2023 03:12
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 this pull request may close these issues.

4 participants